1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

fix size of struct at right place

This commit is contained in:
Harald Barth 2021-07-25 23:07:20 +02:00
parent 1fab0f586b
commit cc4de0ad14

View File

@ -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;