mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-10 23:50:21 -04:00
Backlight: Add abstraction for support of different hardware.
This commit is contained in:
parent
e695d496c5
commit
aa189a3462
7 changed files with 240 additions and 5 deletions
|
@ -270,12 +270,9 @@ void lcd_vertical_scrolling_start_address(
|
|||
void ILI9341::init() {
|
||||
lcd_reset();
|
||||
lcd_init();
|
||||
|
||||
io.lcd_backlight(1);
|
||||
}
|
||||
|
||||
void ILI9341::shutdown() {
|
||||
io.lcd_backlight(0);
|
||||
lcd_reset();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue