/* * tacos.cpp * * Created on: Jan 2, 2024 * Author: Dario */ #include namespace sta { namespace tacos { uint16_t getState() { return Statemachine::instance()->getCurrentState(); } void setState(uint32_t from, uint32_t to, uint32_t lockout /* = 0 */) { Statemachine::instance()->requestStateTransition(from, to, lockout); } void setStateTimed(uint32_t from, uint32_t to, uint32_t millis, uint32_t lockout /* = 0 */) { Statemachine::instance()->requestTimedStateTransition(from, to, millis, lockout); } } // namespace tacos } // namespace sta