1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-30 03:26:13 +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)); digitalWrite(tt->data.pin,tt->data.oStatus ^ bitRead(tt->data.iFlag,0));
pinMode(tt->data.pin,OUTPUT); pinMode(tt->data.pin,OUTPUT);
tt->num=EEStore::pointer(); tt->num=EEStore::pointer();
EEStore::advance(sizeof(struct OutputData)); EEStore::advance(sizeof(struct BrokenOutputData));
} }
} else { } else {
struct OutputData data; struct OutputData data;