lpc11xx: Run clang-format across the code
This commit is contained in:
parent
a9fff1e8a6
commit
3d1933a5a0
|
@ -69,10 +69,11 @@ static bool lpc11xx_read_uid(target *t, int argc, const char *argv[])
|
||||||
|
|
||||||
const struct command_s lpc11xx_cmd_list[] = {
|
const struct command_s lpc11xx_cmd_list[] = {
|
||||||
{"readuid", lpc11xx_read_uid, "Read out the 16-byte UID."},
|
{"readuid", lpc11xx_read_uid, "Read out the 16-byte UID."},
|
||||||
{NULL, NULL, NULL}
|
{NULL, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
static void lpc11xx_add_flash(target *t, uint32_t addr, size_t len, size_t erasesize, uint32_t iap_entry, uint8_t reserved_pages)
|
static void lpc11xx_add_flash(
|
||||||
|
target *t, uint32_t addr, size_t len, size_t erasesize, uint32_t iap_entry, uint8_t reserved_pages)
|
||||||
{
|
{
|
||||||
struct lpc_flash *lf = lpc_add_flash(t, addr, len);
|
struct lpc_flash *lf = lpc_add_flash(t, addr, len);
|
||||||
lf->f.blocksize = erasesize;
|
lf->f.blocksize = erasesize;
|
||||||
|
@ -84,8 +85,7 @@ static void lpc11xx_add_flash(target *t, uint32_t addr, size_t len, size_t erase
|
||||||
lf->reserved_pages = reserved_pages;
|
lf->reserved_pages = reserved_pages;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool lpc11xx_probe(target *t)
|
||||||
lpc11xx_probe(target *t)
|
|
||||||
{
|
{
|
||||||
uint32_t idcode;
|
uint32_t idcode;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue