Merge branch 'main' into agent/timer-system-state

This commit is contained in:
Roger 2026-08-30 17:02:16 +08:00 • committed by GitHub
commit c48d9b0137
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
81 changed files with 2154 additions and 922 deletions

View file

@ -524,9 +524,11 @@
xMessage.u.xTimerParameters.xMessageValue = xOptionalValue;
xMessage.u.xTimerParameters.pxTimer = xTimer;
configASSERT( xCommandID < tmrFIRST_FROM_ISR_COMMAND );
/* Enforce a lower bound as well as an upper bound so that only
* valid task-issued commands are accepted here. */
configASSERT( ( xCommandID >= tmrCOMMAND_START_DONT_TRACE ) && ( xCommandID < tmrFIRST_FROM_ISR_COMMAND ) );
if( xCommandID < tmrFIRST_FROM_ISR_COMMAND )
if( ( xCommandID >= tmrCOMMAND_START_DONT_TRACE ) && ( xCommandID < tmrFIRST_FROM_ISR_COMMAND ) )
{
if( xTaskGetSchedulerState() == taskSCHEDULER_RUNNING )
{