From 3a3a926c2a1cb18d2715ce5235f94fda3af76b7b Mon Sep 17 00:00:00 2001 From: Kenneth Henderick Date: Fri, 30 Dec 2022 17:14:13 +0100 Subject: [PATCH] Allow button press overrides --- src/Watchy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Watchy.h b/src/Watchy.h index fb90286..bdd44b1 100644 --- a/src/Watchy.h +++ b/src/Watchy.h @@ -56,7 +56,7 @@ public: float getBatteryVoltage(); void vibMotor(uint8_t intervalMs = 100, uint8_t length = 20); - void handleButtonPress(); + virtual void handleButtonPress(); void showMenu(byte menuIndex, bool partialRefresh); void showFastMenu(byte menuIndex); void showAbout();