imx8: turn backlight off when blanking
This commit is contained in:
parent
c539d64d22
commit
29a6cbf7ee
2 changed files with 6 additions and 5 deletions
|
@ -812,6 +812,12 @@ backlighton(void)
|
|||
gpioout(GPIO_PIN(1, 10), 1);
|
||||
}
|
||||
|
||||
void
|
||||
blankscreen(int blank)
|
||||
{
|
||||
gpioout(GPIO_PIN(1, 10), blank == 0);
|
||||
}
|
||||
|
||||
void
|
||||
lcdinit(void)
|
||||
{
|
||||
|
|
|
@ -178,11 +178,6 @@ setcolor(ulong p, ulong r, ulong g, ulong b)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
blankscreen(int)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
myscreenputs(char *s, int n)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue