comparison 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
comparison
equal deleted inserted replaced
737:5071d554aaa5 738:30717de00f3a
519 519
520 if(externalInterface_isEnabledPower33()) 520 if(externalInterface_isEnabledPower33())
521 { 521 {
522 externalInterface_SwitchPower33(true); 522 externalInterface_SwitchPower33(true);
523 } 523 }
524 524 externalInterface_InitDatastruct();
525 // EXTILine0_Button_DeInit(); not now, later after testing 525 // EXTILine0_Button_DeInit(); not now, later after testing
526 break; 526 break;
527 } 527 }
528 528
529 #ifdef DEBUG_RUNTIME 529 #ifdef DEBUG_RUNTIME