diff options
author | Paul Selkirk <paul@psgd.org> | 2017-02-22 14:11:12 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-02-22 17:45:31 -0500 |
commit | 189df371631a2b7bef91803d449e47470ad6a7bf (patch) | |
tree | 1986828d38cdd6507c96640f6370b433be720892 /projects/cli-test/mgmt-dfu.c | |
parent | 56fcfdf3bec384a74eb9deb070f342142bbacff3 (diff) |
Refactor flash code.
Diffstat (limited to 'projects/cli-test/mgmt-dfu.c')
-rw-r--r-- | projects/cli-test/mgmt-dfu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/projects/cli-test/mgmt-dfu.c b/projects/cli-test/mgmt-dfu.c index 8f258ea..851c8ea 100644 --- a/projects/cli-test/mgmt-dfu.c +++ b/projects/cli-test/mgmt-dfu.c @@ -72,9 +72,7 @@ static int cmd_dfu_erase(struct cli_def *cli, const char *command, char *argv[], { int status; - cli_print(cli, "Erasing flash sectors %i to %i (address %p to %p) - expect the CLI to crash now", - stm_flash_sector_num((uint32_t) dfu_firmware), - stm_flash_sector_num((uint32_t) dfu_firmware_end), + cli_print(cli, "Erasing flash address %p to %p - expect the CLI to crash now", dfu_firmware, dfu_firmware_end); |