diff options
Diffstat (limited to 'menus.c')
-rw-r--r-- | menus.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2820,6 +2820,11 @@ void Menu_Check_Buttons(void) int lower_encoder_val; int encoder_change; + // abort if not running on the target board with the I2C bus + if (!globals.HWDetect.beaglebone) { + return; + } + /* get keypad state */ Read_Keypad(&button_port_val,&upper_encoder_val,&lower_encoder_val); |