mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 10:08:33 -04:00
Update the Win32/MingW demo to match the latest Win32/MSVC demo.
This commit is contained in:
parent
d12ec14160
commit
660162a5b8
6 changed files with 190 additions and 541 deletions
|
@ -200,16 +200,20 @@ void vApplicationIdleHook( void )
|
|||
function, because it is the responsibility of the idle task to clean up
|
||||
memory allocated by the kernel to any task that has since been deleted. */
|
||||
|
||||
/* The trace can be stopped with any key press. */
|
||||
if( _kbhit() != pdFALSE )
|
||||
{
|
||||
if( xTraceRunning == pdTRUE )
|
||||
/* Uncomment the following code to allow the trace to be stopped with any
|
||||
key press. The code is commented out by default as the kbhit() function
|
||||
interferes with the run time behaviour. */
|
||||
/*
|
||||
if( _kbhit() != pdFALSE )
|
||||
{
|
||||
vTraceStop();
|
||||
prvSaveTraceFile();
|
||||
xTraceRunning = pdFALSE;
|
||||
if( xTraceRunning == pdTRUE )
|
||||
{
|
||||
vTraceStop();
|
||||
prvSaveTraceFile();
|
||||
xTraceRunning = pdFALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
#if ( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY != 1 )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue