From 5c454b879bf2b1d9de8fbe68de6a8ab061447254 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Fri, 9 Sep 2011 18:52:30 +0000 Subject: [PATCH] Tidy up the RL78 port layer. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1593 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/portable/IAR/RL78/portasm.s87 | 3 ++- Source/portable/IAR/RL78/portmacro.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.5