From cc4de0ad14e21ea3f583a4157430d648700d5be9 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sun, 25 Jul 2021 23:07:20 +0200 Subject: [PATCH] fix size of struct at right place --- Outputs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Outputs.cpp b/Outputs.cpp index 38e4282..c03a0b1 100644 --- a/Outputs.cpp +++ b/Outputs.cpp @@ -153,7 +153,7 @@ void Output::load(){ digitalWrite(tt->data.pin,tt->data.oStatus ^ bitRead(tt->data.iFlag,0)); pinMode(tt->data.pin,OUTPUT); tt->num=EEStore::pointer(); - EEStore::advance(sizeof(struct OutputData)); + EEStore::advance(sizeof(struct BrokenOutputData)); } } else { struct OutputData data;