From 8db2c79739b7ea67727b0324cec8098ef8018c40 Mon Sep 17 00:00:00 2001 From: martii Date: Sat, 22 Mar 2014 17:23:51 +0100 Subject: [PATCH] libspark/hardware_caps: recognize dvfd [untested] Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/b030449f72180fd8d7cee95b1bd3ce0aa70a6cd8 Author: martii Date: 2014-03-22 (Sat, 22 Mar 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libspark/hardware_caps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libspark/hardware_caps.c b/libspark/hardware_caps.c index 27bb33a..333c9af 100644 --- a/libspark/hardware_caps.c +++ b/libspark/hardware_caps.c @@ -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; }