diff --git a/Source/portable/IAR/RL78/portasm.s87 b/Source/portable/IAR/RL78/portasm.s87 index c4fa9fb91..3c5fab439 100644 --- a/Source/portable/IAR/RL78/portasm.s87 +++ b/Source/portable/IAR/RL78/portasm.s87 @@ -52,7 +52,7 @@ ;*/ #include "ISR_Support.h" -;------------------------------------------------------------------------------ + #if __CORE__ != __RL78_1__ #error "This file is only for RL78 Devices" @@ -88,6 +88,7 @@ vPortStartFirstTask: ; FreeRTOS tick handler. This is installed as the interval timer interrupt ; handler. + RSEG CODE:CODE vPortTickISR: portSAVE_CONTEXT ; Save the context of the current task. diff --git a/Source/portable/IAR/RL78/portmacro.h b/Source/portable/IAR/RL78/portmacro.h index d91b0cb6e..301cc1de6 100644 --- a/Source/portable/IAR/RL78/portmacro.h +++ b/Source/portable/IAR/RL78/portmacro.h @@ -91,7 +91,7 @@ extern "C" { #endif -#if (configUSE_16_BIT_TICKS==1) +#if ( configUSE_16_BIT_TICKS == 1 ) typedef unsigned int portTickType; #define portMAX_DELAY ( portTickType ) 0xffff #else