Removed terminate flag from threads

This commit is contained in:
dario 2023-11-09 18:20:48 +01:00
parent c609dc81cc
commit 6bcca7af85

View File

@ -14,7 +14,7 @@
/** /**
* @brief Number of bits in task notification flags used internally. * @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. * @brief Number of user usable bits in task notification flags.
*/ */
@ -34,15 +34,10 @@
*/ */
#define STA_RTOS_THREAD_FLAG_ERROR_CODE ( 1UL << 31 ) #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. * @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 ) #define STA_RTOS_THREAD_FLAGS_ERROR_CODE_BITS UINT32_C( 0x0000000F )