Skip to content

Commit

Permalink
Cleared MXC_WUT_IntClear() deprecation warnings from more examples
Browse files Browse the repository at this point in the history
  • Loading branch information
crsz20 committed Dec 11, 2024
1 parent 5e1a9c7 commit b31661b
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Examples/MAX32655/FreeRTOSDemo/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ int freertos_permit_tickless(void)
*/
void WUT_IRQHandler(void)
{
MXC_WUT_IntClear(MXC_WUT0);
MXC_WUT_ClearFlags(MXC_WUT0);
NVIC_ClearPendingIRQ(WUT_IRQn);
}

Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_FreeRTOS/stack_dats.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ static void mainWsfInit(void)
/*************************************************************************************************/
void WUT_IRQHandler(void)
{
MXC_WUT_IntClear();
MXC_WUT_ClearFlags();
NVIC_ClearPendingIRQ(WUT_IRQn);
MXC_WUT_Handler();
PalTimerIRQCallBack();
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/FreeRTOSDemo/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ void turnOffUnused(void)
*/
void WUT_IRQHandler(void)
{
MXC_WUT_IntClear();
MXC_WUT_ClearFlags();
NVIC_ClearPendingIRQ(WUT_IRQn);
}

Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32680/FreeRTOSDemo/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ int freertos_permit_tickless(void)
*/
void WUT_IRQHandler(void)
{
MXC_WUT_IntClear(MXC_WUT);
MXC_WUT_ClearFlags(MXC_WUT);
NVIC_ClearPendingIRQ(WUT_IRQn);
}

Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32690/FreeRTOSDemo/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ int freertos_permit_tickless(void)
*/
void WUT_IRQHandler(void)
{
MXC_WUT_IntClear();
MXC_WUT_ClearFlags();
NVIC_ClearPendingIRQ(WUT0_IRQn);
}

Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX78000/CNN/kws20_demo/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ int32_t tot_usec = -100000;
void WUT_IRQHandler(void)
{
i2s_flag = 1;
MXC_WUT_IntClear();
MXC_WUT_ClearFlags();

tot_usec += WUT_USEC;
//LED_On(LED2);
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX78000/FreeRTOSDemo/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ int freertos_permit_tickless(void)
*/
void WUT_IRQHandler(void)
{
MXC_WUT_IntClear();
MXC_WUT_ClearFlags();
NVIC_ClearPendingIRQ(WUT_IRQn);
}

Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX78002/CNN/facial_recognition/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ area_t area_2 = { 0, 260, 80, 30 };

void WUT_IRQHandler(void)
{
MXC_WUT_IntClear();
MXC_WUT_ClearFlags();
}

uint32_t ticks_1;
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX78002/CNN/kws20_demo/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ int32_t tot_usec = -100000;
void WUT_IRQHandler(void)
{
i2s_flag = 1;
MXC_WUT_IntClear();
MXC_WUT_ClearFlags();

tot_usec += WUT_USEC;
}
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX78002/FreeRTOSDemo/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ int freertos_permit_tickless(void)
*/
void WUT_IRQHandler(void)
{
MXC_WUT_IntClear();
MXC_WUT_ClearFlags();
NVIC_ClearPendingIRQ(WUT_IRQn);
}

Expand Down

0 comments on commit b31661b

Please sign in to comment.