Revert "fix: don't wake up after USB connect" (#643)

Reverts crosspoint-reader/crosspoint-reader#576

Causing a boot loop on master
This commit is contained in:
Dave Allie
2026-02-01 21:35:25 +11:00
committed by GitHub
parent 4dd73a211a
commit 5a97334ace
3 changed files with 13 additions and 35 deletions

View File

@@ -47,9 +47,8 @@ class HalGPIO {
// Check if USB is connected
bool isUsbConnected() const;
enum class WakeupReason { PowerButton, AfterFlash, AfterUSBPower, Other };
WakeupReason getWakeupReason() const;
// Check if wakeup was caused by power button press
bool isWakeupByPowerButton() const;
// Button indices
static constexpr uint8_t BTN_BACK = 0;