Add load info variable (combines state and error_flags)

This commit is contained in:
Martin Jäger
2020-02-29 13:39:34 +01:00
parent a20644f145
commit 651f66616b
3 changed files with 10 additions and 8 deletions
+2
View File
@@ -116,6 +116,8 @@ void LoadOutput::control()
state = LOAD_STATE_ON;
}
}
info = error_flags > 0 ? -error_flags : state;
}
void LoadOutput::stop(uint32_t flag)