Modify the compilation logic to speed up the first compilation and simplify operations.

This commit is contained in:
SSYYL 2022-10-13 11:58:25 +08:00
commit 1e51790b89
11 changed files with 376 additions and 331 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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