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