Fixed a typo in tacos.hpp

This commit is contained in:
dario 2024-10-04 13:34:17 +02:00
parent d1f7063912
commit 56de1ed4e2

View File

@ -46,7 +46,7 @@ namespace sta
* *
* @ingroup tacos_api * @ingroup tacos_api
*/ */
void setState(uint32_t from, uint32_t to, uint32_t lockout = 0, bool force = false, bool publish = true); void setState(uint32_t from, uint32_t to, uint32_t lockout = 0, bool force = false, bool publish = false);
/** /**
* @brief Request a state transition after a given time has passed. Invalid state transitions will be dismissed. * @brief Request a state transition after a given time has passed. Invalid state transitions will be dismissed.
@ -58,7 +58,7 @@ namespace sta
* *
* @ingroup tacos_api * @ingroup tacos_api
*/ */
void setStateTimed(uint32_t from, uint32_t to, uint32_t millis, uint32_t lockout = 0, bool publish = true); void setStateTimed(uint32_t from, uint32_t to, uint32_t millis, uint32_t lockout = 0, bool publish = false);
/** /**
* @brief Register a new thread to be run by TACOS. * @brief Register a new thread to be run by TACOS.