mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Revert a couple of changes in Win32 demo that should not have been checked in.
This commit is contained in:
parent
05e7d9cc08
commit
d1dd8da12e
5 changed files with 8 additions and 6 deletions
|
@ -54,6 +54,10 @@
|
|||
#include <stdlib.h>
|
||||
#include <conio.h>
|
||||
|
||||
/* Visual studio intrinsics used so the __debugbreak() function is available
|
||||
should an assert get hit. */
|
||||
#include <intrin.h>
|
||||
|
||||
/* FreeRTOS kernel includes. */
|
||||
#include "FreeRTOS.h"
|
||||
#include "task.h"
|
||||
|
@ -288,6 +292,9 @@ volatile uint32_t ulSetToNonZeroInDebuggerToContinue = 0;
|
|||
}
|
||||
}
|
||||
|
||||
/* Cause debugger break point if being debugged. */
|
||||
__debugbreak();
|
||||
|
||||
/* You can step out of this function to debug the assertion by using
|
||||
the debugger to set ulSetToNonZeroInDebuggerToContinue to a non-zero
|
||||
value. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue