mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-13 14:48:33 -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
|
@ -78,7 +78,7 @@
|
|||
#define partstMAX_OUTPUT_LED ( 4 )
|
||||
#define partstFIRST_LED GPIO_Pin_6
|
||||
|
||||
static unsigned portSHORT usOutputValue = 0;
|
||||
static unsigned short usOutputValue = 0;
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -96,7 +96,7 @@ GPIO_InitTypeDef GPIO_InitStructure;
|
|||
|
||||
void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue )
|
||||
{
|
||||
unsigned portSHORT usBit;
|
||||
unsigned short usBit;
|
||||
|
||||
vTaskSuspendAll();
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ unsigned portSHORT usBit;
|
|||
|
||||
if( xValue == pdFALSE )
|
||||
{
|
||||
usBit ^= ( unsigned portSHORT ) 0xffff;
|
||||
usBit ^= ( unsigned short ) 0xffff;
|
||||
usOutputValue &= usBit;
|
||||
}
|
||||
else
|
||||
|
@ -123,7 +123,7 @@ unsigned portSHORT usBit;
|
|||
|
||||
void vParTestToggleLED( unsigned portBASE_TYPE uxLED )
|
||||
{
|
||||
unsigned portSHORT usBit;
|
||||
unsigned short usBit;
|
||||
|
||||
vTaskSuspendAll();
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue