Skip to content

Commit 9ad94f3

Browse files
leonardocavagnisfacchinm
authored andcommitted
refactor display module (rename in st7701 module)
1 parent 18fe009 commit 9ad94f3

File tree

4 files changed

+116
-237
lines changed

4 files changed

+116
-237
lines changed

libraries/H7_Video/src/H7_Video.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "H7_Video.h"
22

33
#include "dsi.h"
4-
#include "display.h"
4+
#include "st7701.h"
55
#include "SDRAM.h"
66
#include "video_modes.h"
77
#include "anx7625.h"
@@ -80,7 +80,7 @@ int H7_Video::begin(bool landscape) {
8080
SDRAM.begin();
8181

8282
//Init LCD Controller
83-
LCD_ST7701_Init();
83+
st7701_init();
8484
}
8585
#elif defined(ARDUINO_GIGA)
8686
#define EDID_MODE_SELECTED EDID_MODE_480x800_60Hz
@@ -105,7 +105,7 @@ int H7_Video::begin(bool landscape) {
105105
SDRAM.begin();
106106

107107
//Init LCD Controller
108-
LCD_ST7701_Init();
108+
st7701_init();
109109
#else
110110
#error Board not compatible with this library
111111
#endif

libraries/H7_Video/src/display.h

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)