Skip to content

Commit 264ce8c

Browse files
committed
BLE compile error
1 parent fab4a76 commit 264ce8c

File tree

3 files changed

+2
-239
lines changed

3 files changed

+2
-239
lines changed

.gitignore

Lines changed: 0 additions & 237 deletions
This file was deleted.

src/Sandbox/BLE/AudioBLEClientESP32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ class AudioBLEClient : public AudioBLEStream,
256256
LOGE("Failed to find char. UUID: %s", BLE_INFO_UUID);
257257
return false;
258258
}
259-
info_char->registerFornotifyAudioChange(notifyCallback);
259+
info_char->registerForNotify(notifyCallback);
260260
readAudioInfoCharacteristic();
261261

262262
}

src/Sandbox/BLE/AudioBLEServerESP32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class AudioBLEServer : public AudioBLEStream,
108108
Str str = toStr(info);
109109
LOGI("AudioInfo: %s", str.c_str());
110110
info_char->setValue((uint8_t *)str.c_str(), str.length() + 1);
111-
info_char->notifyAudioChange();
111+
info_char->notify();
112112
}
113113

114114
int getMTU() override {

0 commit comments

Comments
 (0)