mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Tidy up the RL78 port layer.
This commit is contained in:
parent
1fe7f40fad
commit
d500594b8a
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue