File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -886,13 +886,13 @@ kaleidoscope::EventHandlerResult BLEBluefruit::onKeyEvent(kaleidoscope::KeyEvent
886886 return kaleidoscope::EventHandlerResult::OK;
887887
888888 // Define the BLE key range using constructed Key objects
889- static constexpr Key ble_key_range_start = Key (BLE_TOGGLE, KEY_FLAGS | SYNTHETIC);
890- static constexpr Key ble_key_range_end = Key (0x8F , KEY_FLAGS | SYNTHETIC); // Include all reserved BLE slots
889+ static constexpr Key ble_key_range_start = Key (BLE_TOGGLE, KEY_FLAGS | SYNTHETIC);
890+ static constexpr Key ble_key_range_end = Key (0x8F , KEY_FLAGS | SYNTHETIC); // Include all reserved BLE slots
891891 static constexpr Key ble_operation_range_end = Key (BLE_PAIR, KEY_FLAGS | SYNTHETIC);
892- static constexpr Key ble_device_range_start = Key (BLE_SELECT_DEVICE_1, KEY_FLAGS | SYNTHETIC);
892+ static constexpr Key ble_device_range_start = Key (BLE_SELECT_DEVICE_1, KEY_FLAGS | SYNTHETIC);
893893
894894 // Check if this key is in the BLE range
895- if (event.key .getRaw () < ble_key_range_start.getRaw () ||
895+ if (event.key .getRaw () < ble_key_range_start.getRaw () ||
896896 event.key .getRaw () > ble_key_range_end.getRaw ())
897897 return kaleidoscope::EventHandlerResult::OK;
898898
Original file line number Diff line number Diff line change @@ -261,18 +261,18 @@ bool HIDD::processNextReport_() {
261261 // Update retry count - we need to remove and re-add the item
262262 // because FreeRTOS doesn't support in-place updates for multi-item queues
263263 report.retries_left --;
264-
264+
265265 // Remove the old item
266266 QueuedReport dummy;
267267 xQueueReceive (queue_handle_, &dummy, 0 );
268-
268+
269269 // Add it back with updated retry count at the front of the queue
270270 if (xQueueSendToFront (queue_handle_, &report, 0 ) != pdTRUE) {
271271 // If we can't re-queue, treat it as a failure
272272 DEBUG_BLE_MSG (" Failed to re-queue report for retry" );
273273 return true ;
274274 }
275-
275+
276276 DEBUG_BLE_MSG (" Retrying report, %d retries left" , report.retries_left );
277277 return false ; // Signal failure so we'll wait before next retry
278278 } else {
You can’t perform that action at this time.
0 commit comments