diff Small_CPU/Src/baseCPU2.c @ 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 5143e927219f
children 32529dfea3b0
line wrap: on
line diff
--- a/Small_CPU/Src/baseCPU2.c	Mon Mar 06 16:03:00 2023 +0100
+++ b/Small_CPU/Src/baseCPU2.c	Thu Feb 02 17:19:24 2023 +0100
@@ -521,7 +521,7 @@
 			{
 				externalInterface_SwitchPower33(true);
 			}
-
+			externalInterface_InitDatastruct();
 			// EXTILine0_Button_DeInit(); not now, later after testing
 			break;
 		}