Modify the compilation logic to speed up the first compilation and simplify operations.
This commit is contained in:
parent
0f3d02f894
commit
1e51790b89
11 changed files with 376 additions and 331 deletions
|
|
@ -82,14 +82,6 @@ static void EPD_1IN64G_ReadBusyH(void)
|
|||
}
|
||||
Debug("e-Paper busy H release\r\n");
|
||||
}
|
||||
static void EPD_1IN64G_ReadBusyL(void)
|
||||
{
|
||||
Debug("e-Paper busy L\r\n");
|
||||
while(DEV_Digital_Read(EPD_BUSY_PIN)) { //LOW: idle, HIGH: busy
|
||||
DEV_Delay_ms(5);
|
||||
}
|
||||
Debug("e-Paper busy L release\r\n");
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
function : Turn On Display
|
||||
|
|
|
|||
|
|
@ -83,14 +83,6 @@ static void EPD_2IN36G_ReadBusyH(void)
|
|||
}
|
||||
Debug("e-Paper busy H release\r\n");
|
||||
}
|
||||
static void EPD_2IN36G_ReadBusyL(void)
|
||||
{
|
||||
Debug("e-Paper busy L\r\n");
|
||||
while(DEV_Digital_Read(EPD_BUSY_PIN)) { //LOW: idle, HIGH: busy
|
||||
DEV_Delay_ms(5);
|
||||
}
|
||||
Debug("e-Paper busy L release\r\n");
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
function : Turn On Display
|
||||
|
|
|
|||
|
|
@ -83,14 +83,6 @@ static void EPD_3IN0G_ReadBusyH(void)
|
|||
}
|
||||
Debug("e-Paper busy H release\r\n");
|
||||
}
|
||||
static void EPD_3IN0G_ReadBusyL(void)
|
||||
{
|
||||
Debug("e-Paper busy L\r\n");
|
||||
while(DEV_Digital_Read(EPD_BUSY_PIN)) { //LOW: idle, HIGH: busy
|
||||
DEV_Delay_ms(5);
|
||||
}
|
||||
Debug("e-Paper busy L release\r\n");
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
function : Turn On Display
|
||||
|
|
|
|||
|
|
@ -83,14 +83,6 @@ static void EPD_4IN37G_ReadBusyH(void)
|
|||
}
|
||||
Debug("e-Paper busy H release\r\n");
|
||||
}
|
||||
static void EPD_4IN37G_ReadBusyL(void)
|
||||
{
|
||||
Debug("e-Paper busy L\r\n");
|
||||
while(DEV_Digital_Read(EPD_BUSY_PIN)) { //LOW: idle, HIGH: busy
|
||||
DEV_Delay_ms(5);
|
||||
}
|
||||
Debug("e-Paper busy L release\r\n");
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
function : Turn On Display
|
||||
|
|
|
|||
|
|
@ -83,14 +83,6 @@ static void EPD_7IN3G_ReadBusyH(void)
|
|||
}
|
||||
Debug("e-Paper busy H release\r\n");
|
||||
}
|
||||
static void EPD_7IN3G_ReadBusyL(void)
|
||||
{
|
||||
Debug("e-Paper busy L\r\n");
|
||||
while(DEV_Digital_Read(EPD_BUSY_PIN)) { //LOW: idle, HIGH: busy
|
||||
DEV_Delay_ms(5);
|
||||
}
|
||||
Debug("e-Paper busy L release\r\n");
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
function : Turn On Display
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue