WIP No debug 2

This commit is contained in:
Joey Yakimowich-Payne 2025-11-20 18:03:06 -07:00
commit b07801e11f
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
2 changed files with 3 additions and 3 deletions

View file

@ -546,9 +546,9 @@ void switch_pro_task() {
if (is_report_queued) { if (is_report_queued) {
if ((now - last_report_timer) > SWITCH_PRO_KEEPALIVE_TIMER) { if ((now - last_report_timer) > SWITCH_PRO_KEEPALIVE_TIMER) {
if (tud_hid_ready() && send_report(queued_report_id, report_buffer, 64) == true ) { if (tud_hid_ready() && send_report(queued_report_id, report_buffer, 64) == true ) {
is_report_queued = false;
last_report_timer = now;
} }
is_report_queued = false;
last_report_timer = now;
} }
report_sent = true; report_sent = true;
} }

View file

@ -32,7 +32,7 @@ extern "C" {
#ifdef CFG_TUSB_DEBUG #ifdef CFG_TUSB_DEBUG
#undef CFG_TUSB_DEBUG #undef CFG_TUSB_DEBUG
#endif #endif
#define CFG_TUSB_DEBUG 2 #define CFG_TUSB_DEBUG 0
#define CFG_TUD_HID_EP_BUFSIZE 64 #define CFG_TUD_HID_EP_BUFSIZE 64