From 56de1ed4e2bdf180f9dc17b9e96747ef6fc1c379 Mon Sep 17 00:00:00 2001 From: dario Date: Fri, 4 Oct 2024 13:34:17 +0200 Subject: [PATCH] Fixed a typo in tacos.hpp --- include/sta/tacos.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sta/tacos.hpp b/include/sta/tacos.hpp index aa5d408..7f9ef4a 100644 --- a/include/sta/tacos.hpp +++ b/include/sta/tacos.hpp @@ -46,7 +46,7 @@ namespace sta * * @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. @@ -58,7 +58,7 @@ namespace sta * * @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.