FEATURE: impl refill pump cooldown logic
This commit is contained in:
parent
55a11ec980
commit
ed4c53c740
@ -7,6 +7,6 @@
|
||||
|
||||
// Auto generated header file containing the last git revision
|
||||
|
||||
#define GIT_HASH "9b50d90"
|
||||
#define GIT_HASH "ed9a66b"
|
||||
|
||||
#endif //FLOATPUMP_GIT_REVISION_TEMPLATE_H
|
@ -286,19 +286,17 @@ int main(void) {
|
||||
|
||||
}
|
||||
|
||||
/*display.LCDSetCursor(0, 3);
|
||||
if (S_refillempty) {
|
||||
display.LCDSetCursor(0, 3);
|
||||
if (S_refillcooldown > 0) {
|
||||
display.LCDSendCString(const_cast<char *>(std::string("Cooldown: " + std::to_string(S_refillcooldown / 60) + "min").c_str()));
|
||||
} else if (S_refillempty) {
|
||||
display.LCDSendCString(const_cast<char *>(std::string("Nachspeisung mangel ").c_str()));
|
||||
HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_RESET);
|
||||
} else {
|
||||
display.LCDSendCString(const_cast<char *>(std::string("Nachspeisung ok ").c_str()));
|
||||
HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_SET);
|
||||
}*/
|
||||
}
|
||||
|
||||
display.LCDSetCursor(0, 3);
|
||||
//if (S_refillcooldown > 0) {
|
||||
display.LCDSendCString(const_cast<char *>(std::string("Cooldown: " + std::to_string(S_refillcooldown) + "s").c_str()));
|
||||
//}
|
||||
|
||||
//Check for rotation to enable display backlight
|
||||
if (old_pos < rot_counter) {
|
||||
|
Loading…
Reference in New Issue
Block a user