This commit is contained in:
Richard Barry 2008-02-17 18:19:21 +00:00
parent babd7f05f7
commit 95189f40d2

View File

@ -90,8 +90,8 @@ FreeRTOSConfig.h to set the configMEMMODEL value. */
#if configKERNEL_INTERRUPT_PRIORITY != 6
#error configKERNEL_INTERRUPT_PRIORITY (set in FreeRTOSConfig.h) must match the ILM value set in the following line - #06H being the default.
#endif
#define portENABLE_INTERRUPTS() __asm(" MOV ILM, #06h ")
#define portDISABLE_INTERRUPTS() __asm(" MOV ILM, #07h ")
#define portDISABLE_INTERRUPTS() __asm(" MOV ILM, #06h ")
#define portENABLE_INTERRUPTS() __asm(" MOV ILM, #07h ")
#define portENTER_CRITICAL() \
{ __asm(" PUSHW PS "); \