There was an error while loading. Please reload this page.
1 parent 7fad7fe commit 645a5d2Copy full SHA for 645a5d2
1 file changed
plugins/Kaleidoscope-Hardware-Keyboardio-Preonic/src/kaleidoscope/device/keyboardio/Preonic.h
@@ -670,12 +670,6 @@ class Preonic : public kaleidoscope::device::Base<PreonicProps> {
670
return false;
671
}
672
673
- // Don't sleep if we have a bonded device but are disconnected —
674
- // keep advertising so we can reconnect when the host wakes
675
- if (!ble().connected() && Bluefruit.Advertising.isRunning()) {
676
- return false;
677
- }
678
-
679
if (now - last_activity_time_ >= DEEP_SLEEP_TIMEOUT_MS) {
680
return true;
681
0 commit comments