Fixed handbremse (deleted old code and wrote new code :D)
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
#include "handbremse.h"
|
||||
|
||||
#include "globals.h"
|
||||
|
||||
namespace handbremse {
|
||||
bool handbremseAngezogen{false};
|
||||
bool angezogen{false};
|
||||
bool finishedMotorUpdate{false};
|
||||
std::optional<espchrono::millis_clock::time_point> releaseTimer;
|
||||
std::optional<espchrono::millis_clock::time_point> wishTimer;
|
||||
std::optional<espchrono::millis_clock::time_point> standStillFirstDetected;
|
||||
std::optional<espchrono::millis_clock::time_point> lastAutoRelease{espchrono::millis_clock::now()};
|
||||
|
||||
StateWish stateWish{none};
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user