diff Discovery/Src/tInfoSensor.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 734f84b72b30
children
line wrap: on
line diff
--- a/Discovery/Src/tInfoSensor.c	Sun Feb 22 19:56:43 2026 +0100
+++ b/Discovery/Src/tInfoSensor.c	Sun Feb 22 20:00:00 2026 +0100
@@ -40,7 +40,6 @@
 #include <inttypes.h>
 
 extern void openEdit_Sensors(uint8_t filter);
-uint8_t OnAction_Sensor	(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action);
 
 /* Private variables ---------------------------------------------------------*/
 static uint8_t	activeSensorId = 0;
@@ -206,8 +205,6 @@
 //  ===============================================================================
 void refreshInfo_Sensor(GFX_DrawCfgScreen s)
 {
-	const SDiveState *pStateReal = stateRealGetPointer();
-
     char text[31];
 
     text[0] = '\001';