mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
libspark/hardware_caps: recognize dvfd [untested]
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