Removed white space at EOL, added some EOLs at EOF
Many code editors are set to do this automatically now, so it ends up being annoying to scrape back out of commits to keep them easily reviewable. Also added '.DS_Store' and 'build' entries to .gitignore
This commit is contained in:
parent
7b571a7fc7
commit
00dd1504d9
8 changed files with 48 additions and 42 deletions
|
@ -173,7 +173,7 @@ void GC9A01_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * colo
|
|||
uint8_t data[4];
|
||||
|
||||
/*Column addresses*/
|
||||
GC9A01_send_cmd(0x2A); //0x2A
|
||||
GC9A01_send_cmd(0x2A); //0x2A
|
||||
data[0] = (area->x1 >> 8) & 0xFF;
|
||||
data[1] = area->x1 & 0xFF;
|
||||
data[2] = (area->x2 >> 8) & 0xFF;
|
||||
|
@ -181,7 +181,7 @@ void GC9A01_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * colo
|
|||
GC9A01_send_data(data, 4);
|
||||
|
||||
/*Page addresses*/
|
||||
GC9A01_send_cmd(0x2B); //0x2B
|
||||
GC9A01_send_cmd(0x2B); //0x2B
|
||||
data[0] = (area->y1 >> 8) & 0xFF;
|
||||
data[1] = area->y1 & 0xFF;
|
||||
data[2] = (area->y2 >> 8) & 0xFF;
|
||||
|
@ -189,7 +189,7 @@ void GC9A01_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * colo
|
|||
GC9A01_send_data(data, 4);
|
||||
|
||||
/*Memory write*/
|
||||
GC9A01_send_cmd(0x2C); //0x2C
|
||||
GC9A01_send_cmd(0x2C); //0x2C
|
||||
|
||||
|
||||
uint32_t size = lv_area_get_width(area) * lv_area_get_height(area);
|
||||
|
@ -217,7 +217,7 @@ void GC9A01_sleep_in()
|
|||
{
|
||||
uint8_t data[] = {0x08};
|
||||
GC9A01_send_cmd(0x10); //0x10 Enter Sleep Mode
|
||||
GC9A01_send_data(&data, 1);
|
||||
GC9A01_send_data(&data, 1);
|
||||
}
|
||||
|
||||
void GC9A01_sleep_out()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue