2020-09-03
This commit is contained in:
parent
853a3a4632
commit
751a9fb93f
570 changed files with 50854 additions and 16474 deletions
|
|
@ -558,9 +558,8 @@ void EPD_4IN2_Display(UBYTE *Image)
|
|||
|
||||
void EPD_4IN2_PartialDisplay(UWORD X_start,UWORD Y_start,UWORD X_end,UWORD Y_end, UBYTE *Image)
|
||||
{
|
||||
UWORD Width, Height;
|
||||
UWORD Width;
|
||||
Width = (EPD_4IN2_WIDTH % 8 == 0)? (EPD_4IN2_WIDTH / 8 ): (EPD_4IN2_WIDTH / 8 + 1);
|
||||
Height = EPD_4IN2_HEIGHT;
|
||||
|
||||
X_start = (X_start % 8 == 0)? (X_start): (X_start/8*8+8);
|
||||
X_end = (X_end % 8 == 0)? (X_end): (X_end/8*8+8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue