Skip to content

Commit 86a95c0

Browse files
committed
Make handleButtonPress virtual.
1 parent 3e3a885 commit 86a95c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Watchy.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Watchy {
5252
float getBatteryVoltage();
5353
void vibMotor(uint8_t intervalMs = 100, uint8_t length = 20);
5454

55-
void handleButtonPress();
55+
virtual void handleButtonPress();
5656
void showMenu(byte menuIndex, bool partialRefresh);
5757
void showFastMenu(byte menuIndex);
5858
void showAbout();

0 commit comments

Comments
 (0)