Skip to content

Commit 72ee9e3

Browse files
committed
Fix two incorrect ifdef guards in mpu_wrappers_v2_asm.S
1 parent ca9f1cc commit 72ee9e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

portable/GCC/ARM_CRx_MPU/mpu_wrappers_v2_asm.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ MPU_xStreamBufferNextMessageLengthBytes:
466466

467467
/* ----------------------------------------------------------------------------------- */
468468

469-
#if INCLUDE_xTaskDelayUntil == 1
469+
#if ( INCLUDE_xTaskDelayUntil == 1 ) || ( INCLUDE_vTaskDelayUntil == 1 )
470470
.extern MPU_xTaskDelayUntilImpl
471471
/**
472472
* Function: TaskHandle_t MPU_xTaskDelayUntil
@@ -483,7 +483,7 @@ MPU_xStreamBufferNextMessageLengthBytes:
483483

484484
/* ------------------------------------------------------------------------------- */
485485

486-
#endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
486+
#endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) || ( INCLUDE_vTaskDelayUntil == 1 ) */
487487

488488
#if INCLUDE_xTaskAbortDelay == 1
489489

@@ -1025,7 +1025,7 @@ MPU_xStreamBufferNextMessageLengthBytes:
10251025

10261026
#endif /* if ( configUSE_QUEUE_SETS == 1 ) */
10271027

1028-
#if configQUEUE_REGISTRY_SIZE == 1
1028+
#if configQUEUE_REGISTRY_SIZE > 0
10291029

10301030
/* ------------------------------------------------------------------------------- */
10311031

0 commit comments

Comments
 (0)