Skip to content

Commit

Permalink
change as per review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mazgch authored and h2zero committed Jan 4, 2025
1 parent c966f61 commit f4746f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/NimBLEScan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,12 +478,11 @@ void NimBLEScan::clearResults() {
* @brief Dump the scan results to the log.
*/
void NimBLEScanResults::dump() const {
#if CONFIG_NIMBLE_CPP_LOG_LEVEL >=3
for (const auto& dev : m_deviceVec) {
NIMBLE_LOGI(LOG_TAG, "- %s", dev->toString().c_str());
#if CONFIG_NIMBLE_CPP_LOG_LEVEL < 3
(void)dev;
}
#endif
}
} // dump

/**
Expand Down

0 comments on commit f4746f2

Please sign in to comment.