mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-30 20:47:22 +00:00
Merge pull request #2130 from ehaas/format-string-fix
nimble/host: Fix format string in ble_gap_log_duration
This commit is contained in:
@@ -320,7 +320,7 @@ ble_gap_log_duration(int32_t duration_ms)
|
||||
if (duration_ms == BLE_HS_FOREVER) {
|
||||
BLE_HS_LOG(INFO, "duration=forever");
|
||||
} else {
|
||||
BLE_HS_LOG(INFO, "duration=%dms", duration_ms);
|
||||
BLE_HS_LOG(INFO, "duration=%dms", (int)duration_ms);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user