Adafruit BLE cleanups (#11556)

This commit is contained in:
Ryan authored and GitHub committed 2021-01-15 14:32:00 +11:00
1 parent f519a9908e
commit 84e2f1ec17
3 files changed
+26 -32

No files matched your search

+1 -1
View File
@@ -809,7 +809,7 @@ static void send_consumer(uint16_t data) {
if (where == OUTPUT_BLUETOOTH || where == OUTPUT_USB_AND_BT) {
# ifdef MODULE_ADAFRUIT_BLE
adafruit_ble_send_consumer_key(data, 0);
adafruit_ble_send_consumer_key(data);
# elif MODULE_RN42
static uint16_t last_data = 0;
if (data == last_data) return;