mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Replace use of legacy portTYPE macros from old demos and standard demo files.
This commit is contained in:
parent
3e20aa7d60
commit
b54158d1dc
123 changed files with 736 additions and 736 deletions
|
@ -163,13 +163,13 @@ static short sRegTestStatus = pdPASS;
|
|||
|
||||
/* 78K0R Option Byte Definition. Watchdog disabled, LVI enabled, OCD interface
|
||||
enabled. */
|
||||
__root __far const unsigned portCHAR OptionByte[] @ 0x00C0 =
|
||||
__root __far const unsigned char OptionByte[] @ 0x00C0 =
|
||||
{
|
||||
WATCHDOG_DISABLED, LVI_ENABLED, RESERVED_FF, OCD_ENABLED
|
||||
};
|
||||
|
||||
/* Security byte definition */
|
||||
__root __far const unsigned portCHAR SecuIDCode[] @ 0x00C4 =
|
||||
__root __far const unsigned char SecuIDCode[] @ 0x00C4 =
|
||||
{
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
|
||||
};
|
||||
|
@ -283,7 +283,7 @@ portTickType xToggleRate = mainNO_ERROR_TOGGLE_PERIOD, xLastWakeTime;
|
|||
|
||||
int __low_level_init(void)
|
||||
{
|
||||
unsigned portCHAR ucResetFlag = RESF;
|
||||
unsigned char ucResetFlag = RESF;
|
||||
|
||||
portDISABLE_INTERRUPTS();
|
||||
|
||||
|
@ -310,7 +310,7 @@ unsigned portCHAR ucResetFlag = RESF;
|
|||
|
||||
/* Set clock speed. */
|
||||
CSS = 0;
|
||||
CKC &= (unsigned portCHAR)~0x07;
|
||||
CKC &= (unsigned char)~0x07;
|
||||
CKC |= 0x00;
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue