comparison Discovery/Src/base.c @ 1075:ef99fff2d2de Icon_Integration tip

Unlock button lock if BT is connected: In the previous version the button lock coluld only be disabled by following the correct button press order. In case a button does not work (e.g. low button sensitifity) the OSTC would be locked. To avoid such a scenario the button lock is now also removed if the OSTC is connected via Bluetooth
author ideenmodellierer
date Sun, 22 Feb 2026 20:00:00 +0100
parents 24c1e3367a2e
children
comparison
equal deleted inserted replaced
1074:ad61a2c9095a 1075:ef99fff2d2de
1096 ret = 0; 1096 ret = 0;
1097 } 1097 }
1098 return ret; 1098 return ret;
1099 } 1099 }
1100 1100
1101 void reset_ButtonLock(void)
1102 {
1103 ButtonLockState = LOCK_OFF;
1104 }
1101 SButtonLock get_ButtonLock(void) 1105 SButtonLock get_ButtonLock(void)
1102 { 1106 {
1103 return ButtonLockState; 1107 return ButtonLockState;
1104 } 1108 }
1105 1109