diff options
author | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 20:17:42 -0500 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 20:17:42 -0500 |
commit | 41e73b50f0addac28ee0e87fe10043dc6d45ba68 (patch) | |
tree | 03ef5764d63837452eedc07dc682d2d6ebfc3c63 /menus.c | |
parent | 2a637c5759191f2911cdf5548d05496600e0655a (diff) |
make hardware-detect flags global
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); |