Skip to content

Commit 8d3e727

Browse files
Fix for button reset loop
1 parent bc0e6e2 commit 8d3e727

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Software/Arduino code/OpenAstroTracker/src/Utility.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ class LcdButtons {
181181

182182
#if I2C_DISPLAY == 1
183183
uint8_t buttons = _lcdMenu->readButtons();
184+
_currentKey = btnNONE;
184185
if (buttons)
185186
{
186187
if (buttons & BUTTON_UP) _currentKey = btnUP;

0 commit comments

Comments
 (0)