mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-28 17:02:50 +01:00
rtc: Fix printf format warning in m41t60.c
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
dc1da42f81
commit
10943c9afa
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ void rtc_reset(void)
|
|||
|
||||
if (l <= 0x3F) {
|
||||
if ((data[RTC_CTRL] & 0x3F) != l) {
|
||||
printf("Setting RTC calibration to 0x%02X\n",
|
||||
printf("Setting RTC calibration to 0x%02lX\n",
|
||||
l);
|
||||
data[RTC_CTRL] &= 0xC0;
|
||||
data[RTC_CTRL] |= (uchar) l;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue