mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-04-05 21:47:39 -04:00
Correct RISC-V port #endif preprocessor comments (#1395)
The comment after vPortSetupTimerInterrupt in GCC and IAR RISC-V port.c duplicated configMTIME_BASE_ADDRESS and omitted configMTIMECMP_BASE_ADDRESS. Align the comment with the matching #if condition.
This commit is contained in:
parent
fba8b2c4a2
commit
129b09fb1d
2 changed files with 2 additions and 2 deletions
|
|
@ -154,7 +154,7 @@ size_t xTaskReturnAddress = ( size_t ) portTASK_RETURN_ADDRESS;
|
||||||
ullNextTime += ( uint64_t ) uxTimerIncrementsForOneTick;
|
ullNextTime += ( uint64_t ) uxTimerIncrementsForOneTick;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* ( configMTIME_BASE_ADDRESS != 0 ) && ( configMTIME_BASE_ADDRESS != 0 ) */
|
#endif /* ( configMTIME_BASE_ADDRESS != 0 ) && ( configMTIMECMP_BASE_ADDRESS != 0 ) */
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
BaseType_t xPortStartScheduler( void )
|
BaseType_t xPortStartScheduler( void )
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,7 @@ static void prvTaskExitError( void )
|
||||||
ullNextTime += ( uint64_t ) uxTimerIncrementsForOneTick;
|
ullNextTime += ( uint64_t ) uxTimerIncrementsForOneTick;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* ( configMTIME_BASE_ADDRESS != 0 ) && ( configMTIME_BASE_ADDRESS != 0 ) */
|
#endif /* ( configMTIME_BASE_ADDRESS != 0 ) && ( configMTIMECMP_BASE_ADDRESS != 0 ) */
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
BaseType_t xPortStartScheduler( void )
|
BaseType_t xPortStartScheduler( void )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue