Skip to content

Commit

Permalink
stm32l4: Fixed a pair of signed-unsigned format string argument misma…
Browse files Browse the repository at this point in the history
…tches
  • Loading branch information
dragonmux authored and esden committed Jan 12, 2024
1 parent 7a11afc commit 8e8dda1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/target/stm32l4.c
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ static bool stm32l4_cmd_erase_bank1(target_s *const t, const int argc, const cha
{
(void)argc;
(void)argv;
gdb_outf("Erasing bank %u: ", 1);
gdb_outf("Erasing bank %u: ", 1U);
const bool result = stm32l4_cmd_erase(t, FLASH_CR_MER1);
gdb_out("done\n");
return result;
Expand All @@ -801,7 +801,7 @@ static bool stm32l4_cmd_erase_bank2(target_s *const t, const int argc, const cha
{
(void)argc;
(void)argv;
gdb_outf("Erasing bank %u: ", 2);
gdb_outf("Erasing bank %u: ", 2U);
const bool result = stm32l4_cmd_erase(t, FLASH_CR_MER2);
gdb_out("done\n");
return result;
Expand Down

0 comments on commit 8e8dda1

Please sign in to comment.