Backlight: Add abstraction for support of different hardware.

This commit is contained in:
Jared Boone 2017-07-18 21:29:32 -07:00
parent e695d496c5
commit aa189a3462
7 changed files with 240 additions and 5 deletions

View file

@ -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();
}