src/driver/fb_generic.h: use unified define for fb device name

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7c555a7d3a
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-07-29 (Sun, 29 Jul 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2018-07-29 14:40:07 +02:00
committed by vanhofen
parent e0506d67c3
commit cc6680d34e
2 changed files with 5 additions and 3 deletions

View File

@@ -77,10 +77,10 @@ static int exec_list(void)
CFbAccelARM::CFbAccelARM()
{
fb_name = "armbox framebuffer";
fb_fd = open("/dev/fb0", O_RDWR);
fb_fd = open(FB_DEVICE, O_RDWR);
if (fb_fd < 0)
{
printf(LOGTAG "[bcm] /dev/fb0 %m");
printf(LOGTAG "[bcm] %s %m", FB_DEVICE);
}
if (exec_list())
{