mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-30 11:36:13 +01:00
fix size of struct at right place
This commit is contained in:
parent
1fab0f586b
commit
cc4de0ad14
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user