diff --git a/include/sta/rtos/thread.hpp b/include/sta/rtos/thread.hpp index 5d6c849..1e4d2b7 100644 --- a/include/sta/rtos/thread.hpp +++ b/include/sta/rtos/thread.hpp @@ -14,7 +14,7 @@ /** * @brief Number of bits in task notification flags used internally. */ -#define STA_RTOS_MAX_BITS_THREAD_SYS_NOTIFY 2U +#define STA_RTOS_MAX_BITS_THREAD_SYS_NOTIFY 1U /** * @brief Number of user usable bits in task notification flags. */ @@ -34,15 +34,10 @@ */ #define STA_RTOS_THREAD_FLAG_ERROR_CODE ( 1UL << 31 ) -/** - * @brief Request thread termination. - */ -#define STA_RTOS_THREAD_FLAG_TERMINATE ( 1UL << 30 ) - /** * @brief Request thread start. */ -#define STA_RTOS_THREAD_FLAG_START ( 1UL << 29 ) +#define STA_RTOS_THREAD_FLAG_START ( 1UL << 30 ) #define STA_RTOS_THREAD_FLAGS_ERROR_CODE_BITS UINT32_C( 0x0000000F )