mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Remove compiler warnings.
This commit is contained in:
parent
019c6417d7
commit
b521d70e7e
|
@ -150,6 +150,11 @@
|
|||
<type>1</type>
|
||||
<locationURI>FreeRTOS_ROOT/FreeRTOS/Demo/Common/Minimal/GenQTest.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Source/Full-Demo/Common-Demo-Source/QueueOverwrite.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>FreeRTOS_ROOT/FreeRTOS/Demo/Common/Minimal/QueueOverwrite.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Source/Full-Demo/Common-Demo-Source/TimerDemo.c</name>
|
||||
<type>1</type>
|
||||
|
|
|
@ -151,7 +151,7 @@ version. */
|
|||
|
||||
#ifdef __ICCARM__
|
||||
void vAssertCalled( const char *pcFile, unsigned long ulLine );
|
||||
#define configASSERT( x ) if( x == 0 ) vAssertCalled( __FILE__, __LINE__ );
|
||||
#define configASSERT( x ) if( ( x ) == 0 ) vAssertCalled( __FILE__, __LINE__ );
|
||||
#endif
|
||||
|
||||
#endif /* FREERTOS_CONFIG_H */
|
||||
|
|
|
@ -1224,9 +1224,9 @@ xTaskHandle xTaskGetIdleTaskHandle( void );
|
|||
// format the raw data as human readable ASCII data
|
||||
for( x = 0; x < uxArraySize; x++ )
|
||||
{
|
||||
/* What percentage of the total run time has the task used?
|
||||
This will always be rounded down to the nearest integer.
|
||||
ulTotalRunTimeDiv100 has already been divided by 100.
|
||||
// What percentage of the total run time has the task used?
|
||||
// This will always be rounded down to the nearest integer.
|
||||
// ulTotalRunTimeDiv100 has already been divided by 100.
|
||||
ulStatsAsPercentage = pxTaskStatusArray[ x ].ulRunTimeCounter / ulTotalRunTime;
|
||||
|
||||
if( ulStatsAsPercentage > 0UL )
|
||||
|
|
Loading…
Reference in a new issue