mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libspark/hardware_caps: recognize dvfd [untested]
Origin commit data
------------------
Branch: master
Commit: b030449f72
Author: martii <m4rtii@gmx.de>
Date: 2014-03-22 (Sat, 22 Mar 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -44,7 +44,7 @@ hw_caps_t *get_hwcaps(void)
|
||||
ret = ioctl(fd, VFDGETVERSION, &val);
|
||||
if (ret < 0)
|
||||
fprintf(stderr, "[hardware_caps] %s: VFDGETVERSION %m\n", __func__);
|
||||
else if (val == 1) { /* VFD, others not yet seen in the wild */
|
||||
else if (val & 1) { /* VFD = 1, DVFD = 3 */
|
||||
caps.display_type = HW_DISPLAY_LINE_TEXT;
|
||||
caps.display_xres = 8;
|
||||
}
|
||||
|
Reference in New Issue
Block a user