* the Software without restriction, including without limitation the rights to\r
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r
* the Software, and to permit persons to whom the Software is furnished to do so,\r
- * subject to the following conditions:\r
+ * subject to the fofllowing conditions:\r
*\r
* The above copyright notice and this permission notice shall be included in all\r
* copies or substantial portions of the Software.\r
#include <stdlib.h>\r
#include <conio.h>\r
\r
+/* Visual studio intrinsics used so the __debugbreak() function is available\r
+should an assert get hit. */\r
+#include <intrin.h>\r
+\r
/* FreeRTOS kernel includes. */\r
#include "FreeRTOS.h"\r
#include "task.h"\r
}\r
}\r
\r
+ /* Cause debugger break point if being debugged. */\r
+ __debugbreak();\r
+\r
/* You can step out of this function to debug the assertion by using\r
the debugger to set ulSetToNonZeroInDebuggerToContinue to a non-zero\r
value. */\r