mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2026-03-06 13:54:14 +01:00
[BREAKING] Change NIMBLE_LOGC macro to use printf.
Replaces all use of NIMBLE_LOGC with NIMBLE_LOGE and redefines NIMBLE_LOGC to use printf. This allows NIMBLE_CPP_DEBUG_ASSERT messages to print event when log level filtering is set to none.
This commit is contained in:
@@ -778,7 +778,7 @@ void NimBLEDevice::onReset(int reason)
|
||||
|
||||
m_synced = false;
|
||||
|
||||
NIMBLE_LOGC(LOG_TAG, "Resetting state; reason=%d, %s", reason,
|
||||
NIMBLE_LOGE(LOG_TAG, "Resetting state; reason=%d, %s", reason,
|
||||
NimBLEUtils::returnCodeToString(reason));
|
||||
|
||||
#if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
|
||||
|
||||
Reference in New Issue
Block a user