Skip to content

Commit 659687b

Browse files
committed
Fix printf format specifier to match length of data type.
1 parent a5ce359 commit 659687b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Bluefruit52Lib/src/bluefruit.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,11 +437,11 @@ bool AdafruitBluefruit::begin(uint8_t prph_count, uint8_t central_count)
437437
if ( err )
438438
{
439439
LOG_LV1("CFG", "SoftDevice config require more SRAM than provided by linker.\n"
440-
"App Ram Start must be at least 0x%08X (provided 0x%08X)\n"
440+
"App Ram Start must be at least 0x%08lX (provided 0x%08lX)\n"
441441
"Please update linker file or re-config SoftDevice", ram_start, (uint32_t) __data_start__);
442442
}
443443

444-
LOG_LV1("CFG", "SoftDevice's RAM requires: 0x%08X", ram_start);
444+
LOG_LV1("CFG", "SoftDevice's RAM requires: 0x%08lX", ram_start);
445445
VERIFY_STATUS(err, false);
446446

447447
/*------------- Configure BLE Option -------------*/

0 commit comments

Comments
 (0)