Skip to content

Inconsistent Timer API #224

Description

@OortJacek

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions