diff Small_CPU/Inc/externalInterface.h @ 1081:1b38d7b8da35 Icon_Integration

Send sensor data cyclic: In the previous version the sensor data which had been updated at last was send to the main CPU. With the introduction of the hud a second device is sending sensor data information => in case of fast sensor data updated it could happen that a sensor data record was never transmitted. To avoid this the sensor data of all sensor slots is now transmitted on a cyclic basis.
author Ideenmodellierer
date Sun, 15 Mar 2026 21:28:53 +0100
parents b02311fbb1e1
children
line wrap: on
line diff
--- a/Small_CPU/Inc/externalInterface.h	Sun Mar 08 21:08:33 2026 +0100
+++ b/Small_CPU/Inc/externalInterface.h	Sun Mar 15 21:28:53 2026 +0100
@@ -101,6 +101,7 @@
 void externalInterface_SetHUDSequence(uint8_t* pSequence, uint8_t brightness);
 uint8_t externalInterface_GetSensorData(uint8_t sensorId, uint8_t* pDataStruct);
 void externalInterface_SetSensorData(uint8_t sensorId, uint8_t* pDataStruct);
+void externalInterface_ResetSensorData(uint8_t sensorId);
 void externalInface_SetSensorMap(uint8_t* pMap);
 uint8_t* externalInterface_GetSensorMapPointer(uint8_t finalMap);
 void externalInterface_AutodetectSensor(void);