queue MIDI sends with delay(1) to avoid race; force legacy advertising

This commit is contained in:
ash
2026-06-30 21:59:55 +00:00
parent 72a10fa13a
commit 2d3a5a9031
3 changed files with 22 additions and 5 deletions
+5
View File
@@ -38,6 +38,11 @@ private:
uint8_t sysex_len = 0;
bool sysex_active = false;
bool pending_cc = false;
uint8_t pending_channel = 0;
uint8_t pending_cc_num = 0;
uint8_t pending_value = 0;
void process_switch_event(uint8_t switch_id, bool pressed);
void run_palette_test();
void handle_sysex(const uint8_t* data, uint8_t len);