Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9e8fa2d

Browse filesBrowse files
committed
fix(nimble): Fix unused variable warning
1 parent 7898ac5 commit 9e8fa2d
Copy full SHA for 9e8fa2d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎libraries/BLE/src/BLEDevice.cpp

Copy file name to clipboardExpand all lines: libraries/BLE/src/BLEDevice.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ String BLEDevice::getValue(BLEAddress bdAddress, BLEUUID serviceUUID, BLEUUID ch
236236
*/
237237
void BLEDevice::init(String deviceName) {
238238
if (!initialized) {
239-
esp_err_t errRc = ESP_OK;
239+
[[maybe_unused]] esp_err_t errRc = ESP_OK;
240240
#if defined(ARDUINO_ARCH_ESP32) && !defined(CONFIG_NIMBLE_ENABLED)
241241
if (!btStart()) {
242242
errRc = ESP_FAIL;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.