From 81cba7e615cd14b5c20c3c0606963f9463780397 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 27 Jun 2024 12:46:51 +0200 Subject: [PATCH] void T_runProc::sub_getDynMachineConditions(struct T_dynamicCondition *dynMachCond): Use T_dynamicCondition directly. --- src/runProc.cpp | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/runProc.cpp b/src/runProc.cpp index a7783d8..9266859 100644 --- a/src/runProc.cpp +++ b/src/runProc.cpp @@ -400,22 +400,7 @@ void T_runProc::changer_getAllParameters(struct T_changer *mw) void T_runProc::sub_getDynMachineConditions(struct T_dynamicCondition *dynMachCond) { - - uint16_t LL, nn; - char *start; - uint8_t buf[70], leng; - - epi_restoreDynMachineConditions(&leng, buf); - // Puffer in struct eintragen: - LL=sizeof(struct T_dynamicCondition); - start = &dynMachCond->allDoorsDebounced; - nn=0; - do - { - *start = buf[nn]; - start++; - } while(++nn