summaryrefslogtreecommitdiff
path: root/platforms/chibios/drivers/eeprom
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-08-04 22:15:42 +1000
committerGitHub <noreply@github.com>2022-08-04 22:15:42 +1000
commitd9eb152a90da0bedb0047b67e4f5ebb53e64b422 (patch)
tree813615d767ab524dee9a9114008a1ebacf1f9c6a /platforms/chibios/drivers/eeprom
parent94e8701b3e62647866e52b9e1086017aab4be2f9 (diff)
Fix issue with #17904. (#17905)
Diffstat (limited to 'platforms/chibios/drivers/eeprom')
-rw-r--r--platforms/chibios/drivers/eeprom/eeprom_stm32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/chibios/drivers/eeprom/eeprom_stm32.c b/platforms/chibios/drivers/eeprom/eeprom_stm32.c
index 25733fb336..1a354dc213 100644
--- a/platforms/chibios/drivers/eeprom/eeprom_stm32.c
+++ b/platforms/chibios/drivers/eeprom/eeprom_stm32.c
@@ -273,7 +273,7 @@ uint16_t EEPROM_Init(void) {
eeprom_printf("DataBuf[0x%04x] = 0x%04x;\n", address, wvalue);
*(uint16_t *)(&DataBuf[address]) = wvalue;
} else {
- eeprom_printf("DataBuf[0x%04x] cannot be set to 0x%04lx [BAD ADDRESS]\n", address, wvalue);
+ eeprom_printf("DataBuf[0x%04x] cannot be set to 0x%04x [BAD ADDRESS]\n", address, wvalue);
}
}
}