Revert a couple of changes in Win32 demo that should not have been checked in.

This commit is contained in:
Richard Barry 2019-07-23 17:02:59 +00:00
parent 05e7d9cc08
commit d1dd8da12e
5 changed files with 8 additions and 6 deletions

View file

@ -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. */