Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] Introduce multiple failures #3

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[TEST] Introduce formatting and spell failures
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
  • Loading branch information
aggarg committed Mar 16, 2023
commit 0e001c570ab27109d4604ac8a10246660bf19cf6
2 changes: 0 additions & 2 deletions .github/lexicon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2095,9 +2095,7 @@ taskscheduler
taskselect
taskstamp
taskstampcount
taskstatus
taskutils
taskyield
tblpag
tblptrh
tblptrl
Expand Down
8 changes: 4 additions & 4 deletions tasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -5113,10 +5113,10 @@ TickType_t uxTaskResetEventItemValue( void )
BaseType_t * pxHigherPriorityTaskWoken )
{
TCB_t * pxTCB;
uint8_t ucOriginalNotifyState;
uint8_t ucOriginalNotifyState;
portBASE_TYPE xSavedInterruptStatus;

configASSERT( xTaskToNotify );
configASSERT( xTaskToNotify );
configASSERT( uxIndexToNotify < configTASK_NOTIFICATION_ARRAY_ENTRIES );

/* RTOS ports that support interrupt nesting have the concept of a
Expand All @@ -5137,11 +5137,11 @@ TickType_t uxTaskResetEventItemValue( void )
* https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html */
portASSERT_IF_INTERRUPT_PRIORITY_INVALID();

pxTCB = xTaskToNotify;
pxTCB = xTaskToNotify;

xSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR();
{
ucOriginalNotifyState = pxTCB->ucNotifyState[ uxIndexToNotify ];
ucOriginalNotifyState = pxTCB->ucNotifyState[ uxIndexToNotify ];
pxTCB->ucNotifyState[ uxIndexToNotify ] = taskNOTIFICATION_RECEIVED;

/* 'Giving' is equivalent to incrementing a count in a counting
Expand Down