8000 typo "{" · dpharris/arduino-esp32@bcbdee2 · GitHub
[go: up one dir, main page]

Skip to content

Commit bcbdee2

Browse files
authored
typo "{"
1 parent 1680bf3 commit bcbdee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/BLE/src/BLEDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ gatts_event_handler BLEDevice::m_customGattsHandler = nullptr;
415415
if (deviceName.length() > ESP_BLE_ADV_DATA_LEN_MAX - 2) { // 1 byte for Length + 1 bytes for ID
416416
deviceName = "bad length name: max 29 bytes";
417417
errRc = ESP_ERR_INVALID_ARG;
418-
} else
418+
} else {
419419
errRc = ::esp_ble_gap_set_device_name(deviceName.c_str());
420420
}
421421
if (errRc != ESP_OK) {

0 commit comments

Comments
 (0)
0