diff Small_CPU/Inc/externalInterface.h @ 738:30717de00f3a

Added data init function for external interface: If external sensors have been removed while OSTC was sleeping then (in case of digital sensor) an old value was displayed. By initializing the data structures after wakeup this is now avoided.
author Ideenmodellierer
date Thu, 02 Feb 2023 17:19:24 +0100
parents 2a801cfe23ab
children e23fe82cbf8c
line wrap: on
line diff
--- a/Small_CPU/Inc/externalInterface.h	Mon Mar 06 16:03:00 2023 +0100
+++ b/Small_CPU/Inc/externalInterface.h	Thu Feb 02 17:19:24 2023 +0100
@@ -54,6 +54,7 @@
 
 void externalInterface_Init(void);
 void externalInterface_InitPower33(void);
+void externalInterface_InitDatastruct(void);
 uint8_t externalInterface_StartConversion(uint8_t channel);
 uint8_t externalInterface_ReadAndSwitch();
 float externalInterface_CalculateADCValue(uint8_t channel);