From 6af6742d4fe56a871fa57165eec82c8927d47505 Mon Sep 17 00:00:00 2001 From: Maxwell Pray Date: Thu, 12 May 2022 02:27:51 -0700 Subject: [PATCH] Make handleButtonPress virtual. --- src/Watchy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Watchy.h b/src/Watchy.h index 43fa9ae..e694f5d 100644 --- a/src/Watchy.h +++ b/src/Watchy.h @@ -52,7 +52,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();