mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-25 18:57:01 +08:00
Tidy up the RL78 port layer.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user