imx8: turn backlight off when blanking

This commit is contained in:
cinap_lenrek 2022-07-09 14:13:07 +00:00
parent c539d64d22
commit 29a6cbf7ee
2 changed files with 6 additions and 5 deletions

View file

@ -812,6 +812,12 @@ backlighton(void)
gpioout(GPIO_PIN(1, 10), 1); gpioout(GPIO_PIN(1, 10), 1);
} }
void
blankscreen(int blank)
{
gpioout(GPIO_PIN(1, 10), blank == 0);
}
void void
lcdinit(void) lcdinit(void)
{ {

View file

@ -178,11 +178,6 @@ setcolor(ulong p, ulong r, ulong g, ulong b)
return 0; return 0;
} }
void
blankscreen(int)
{
}
static void static void
myscreenputs(char *s, int n) myscreenputs(char *s, int n)
{ {