fix ble connection , ok !

This commit is contained in:
feeling001@gmail.com
2026-06-21 11:50:44 +02:00
parent c40d7516b1
commit d44aaa3318
13 changed files with 483 additions and 83 deletions
+4 -3
View File
@@ -35,6 +35,7 @@ public:
private:
// Per-pad state machine
struct PadState {
explicit PadState(uint8_t p = 0) : pin(p) {}
uint8_t pin;
bool wasDown = false;
uint32_t pressedAt = 0;
@@ -42,9 +43,9 @@ private:
};
PadState _pads[3] = {
{Pins::TOUCH_NEXT},
{Pins::TOUCH_PREV},
{Pins::TOUCH_ACTION}
PadState(Pins::TOUCH_NEXT),
PadState(Pins::TOUCH_PREV),
PadState(Pins::TOUCH_ACTION)
};
uint32_t _lastDebounce = 0;