mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-02 04:13:54 -04:00
Remove all printf() statements from Kinetis demo as they prevent the code running when the debugger is not attached.
This commit is contained in:
parent
7db04b1820
commit
000b4ba783
5 changed files with 3 additions and 226 deletions
|
@ -389,7 +389,6 @@ static long lChangedTimerPeriodAlready = pdFALSE;
|
|||
if( lChangedTimerPeriodAlready == pdFALSE )
|
||||
{
|
||||
lChangedTimerPeriodAlready = pdTRUE;
|
||||
printf( "%s", pcStatusMessage );
|
||||
|
||||
/* This call to xTimerChangePeriod() uses a zero block time.
|
||||
Functions called from inside of a timer callback function must
|
||||
|
@ -561,7 +560,6 @@ volatile size_t xFreeHeapSpace;
|
|||
xTimerStart( xLED2Timer, portMAX_DELAY );
|
||||
|
||||
xFreeHeapSpace = xPortGetFreeHeapSize();
|
||||
printf( "%d bytes of FreeRTOS heap remain unused\nconfigTOTAL_HEAP_SIZE can be reduced\n", xFreeHeapSpace );
|
||||
|
||||
if( xFreeHeapSpace > 100 )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue