distro name
This commit is contained in:
@@ -102,9 +102,10 @@ static void *display_thread(void *arg) {
|
||||
lcd_set_backlight(&lcd, true);
|
||||
lcd_set_contrast(&lcd, lcd_contrast);
|
||||
|
||||
lcd_write_buf(&lcd, 0, 14, "linuxSmartie");
|
||||
lcd_writef(&lcd, 0, 2, "git hash:");
|
||||
lcd_writef(&lcd, 0, 3, "%s", GIT_HASH);
|
||||
char name[64], ver[64];
|
||||
sys_get_distro(name, ver);
|
||||
lcd_writef(&lcd, 0, 0, "%s %s", name, ver);
|
||||
lcd_writef(&lcd, 0, 3, "linuxSmartie %s", GIT_HASH);
|
||||
lcd_flush_buf(&lcd);
|
||||
lcd_clear_buf(&lcd);
|
||||
struct timespec next;
|
||||
|
||||
Reference in New Issue
Block a user