From: richardbarry Date: Fri, 9 Sep 2011 18:52:30 +0000 (+0000) Subject: Tidy up the RL78 port layer. X-Git-Tag: V7.0.2~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5c454b879bf2b1d9de8fbe68de6a8ab061447254;p=freertos Tidy up the RL78 port layer. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1593 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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