activate umlauts for hd51

This commit is contained in:
GetAway
2021-05-08 13:52:25 +02:00
parent ed01ec8082
commit 3bb361a089
5 changed files with 22 additions and 2 deletions

View File

@@ -35,8 +35,9 @@ hw_caps_t *get_hwcaps(void)
caps.can_cpufreq = 1;
caps.can_shutdown = 1;
caps.display_type = HW_DISPLAY_LED_NUM;
caps.display_can_set_brightness = 0;
caps.display_can_deepstandby = 0;
caps.display_can_set_brightness = 0;
caps.display_can_umlauts = 0;
caps.display_has_statusline = 0;
caps.display_has_colon = 1;
caps.has_HDMI = 1;
@@ -53,6 +54,7 @@ hw_caps_t *get_hwcaps(void)
fprintf(stderr, "[hardware_caps] %s: VFDGETVERSION %m\n", __func__);
else if (val & 1) { /* VFD = 1, DVFD = 3 */
caps.display_type = HW_DISPLAY_LINE_TEXT;
caps.display_can_umlauts = 0; /* need test */
caps.display_xres = 8;
caps.display_can_set_brightness = 1;
}