some work on the eyecandy curses display

This commit is contained in:
2019-01-23 22:39:03 +01:00
parent 95b1022974
commit dce67b491d
7 changed files with 60 additions and 11 deletions

View File

@@ -5,8 +5,12 @@
# --------------------------------------------------
# serial input from the control cpu
input_device s /dev/ttyACM0
input_speed i 9600
input_device s /dev/ttyACM0
input_speed i 9600
# --------------------------------------------------
# some values for the eyecandy displays
eyecandy_banner s hacked by tTh
# --------------------------------------------------

View File

@@ -76,7 +76,6 @@ while (fgets(line, SZ_STRINGS, fp))
continue;
}
if (CMP("input_speed")) {
config.input_speed = atoi(strtok(NULL, " \t"));
#if DEBUG_LEVEL
@@ -84,6 +83,11 @@ while (fgets(line, SZ_STRINGS, fp))
#endif
}
if (CMP("eyecandy_banner")) {
config.eyecandy_banner = strdup(strtok(NULL, " \t"));
continue;
}
}
fclose(fp);