Describe the bug
Inconsistent Timer API. _txe_timer_change checks for system state, while other timer functions do not.
https://github.com/azure-rtos/threadx/blob/4e62226eeaf870827facbeef40bd1767db5cf9f0/common/src/txe_timer_change.c#L110
To Reproduce
Call _txe_timer_change within tx_application_define(). It will return TX_CALLER_ERROR
Expected behavior
It is possible to call _txe_timer_change within tx_application_define() with success.
Impact
Inconsistent Timer API
Logs and console output
Not needed. Trivial to understand and reproduce.
Describe the bug
Inconsistent Timer API.
_txe_timer_changechecks for system state, while other timer functions do not.https://github.com/azure-rtos/threadx/blob/4e62226eeaf870827facbeef40bd1767db5cf9f0/common/src/txe_timer_change.c#L110
To Reproduce
Call
_txe_timer_changewithintx_application_define(). It will returnTX_CALLER_ERRORExpected behavior
It is possible to call
_txe_timer_changewithintx_application_define()with success.Impact
Inconsistent Timer API
Logs and console output
Not needed. Trivial to understand and reproduce.