Work on README.md and fix some capitalization problems
This commit is contained in:
		| @ -10,8 +10,6 @@ | ||||
| #include "lcd.h" | ||||
| #include "util.h" | ||||
| #include "ths.h" | ||||
| #include "button.h" | ||||
| #include "menu.h" | ||||
| #include "config.h" | ||||
| #include "ui/screen.h" | ||||
| #include "ui/statsby.h" | ||||
| @ -27,17 +25,13 @@ | ||||
|  | ||||
| #include <unistd.h> | ||||
| #include <err.h> | ||||
| #include <errno.h> | ||||
| #include <stdio.h> | ||||
| #include <string.h> | ||||
| #include <ctype.h> | ||||
| #include <figpar.h> | ||||
| #include <inttypes.h> | ||||
| #include <time.h> | ||||
| #include <sys/time.h> | ||||
| #include <unistd.h> | ||||
| #include <pthread.h> | ||||
| #include <stdatomic.h> | ||||
| #include <signal.h> | ||||
| #include <sqlite3.h> | ||||
| #include <libgen.h> | ||||
|  | ||||
| @ -27,7 +27,7 @@ static bool blank_screen_dispatch(Screen *screen, | ||||
|  | ||||
| Screen *blank_screen_new() { | ||||
|     Screen *s = malloc_checked(sizeof(Screen)); | ||||
|     screen_init(s, "Blank Display", | ||||
|     screen_init(s, "Blank display", | ||||
|                 (ScreenDispatchFunc) blank_screen_dispatch, | ||||
|                 (ScreenCleanupFunc) free); | ||||
|     return s; | ||||
|  | ||||
| @ -155,7 +155,7 @@ static bool data_points_screen_dispatch(DataPointsScreen *screen, SensorState *s | ||||
|  | ||||
| DataPointsScreen *data_points_screen_new() { | ||||
|     DataPointsScreen *s = malloc_checked(sizeof(DataPointsScreen)); | ||||
|     screen_init(&s->parent, "Data Points", | ||||
|     screen_init(&s->parent, "Data points", | ||||
|                 (ScreenDispatchFunc) data_points_screen_dispatch, | ||||
|                 (ScreenCleanupFunc) free); | ||||
|     s->need_redraw = true; | ||||
|  | ||||
| @ -169,7 +169,7 @@ static bool stats_screen_dispatch(StatsScreen *screen, SensorState *state) { | ||||
|  | ||||
| StatsScreen *stats_screen_new() { | ||||
|     StatsScreen *s = malloc_checked(sizeof(StatsScreen)); | ||||
|     screen_init(&s->parent, "Current Stats", | ||||
|     screen_init(&s->parent, "Current stats", | ||||
|                 (ScreenDispatchFunc) stats_screen_dispatch, | ||||
|                 (ScreenCleanupFunc) free); | ||||
|     s->last_humid = 0; | ||||
|  | ||||
| @ -215,7 +215,7 @@ static bool stats_by_screen_dispatch(StatsByScreen *screen, | ||||
|  | ||||
| StatsByScreen *stats_by_screen_new() { | ||||
|     StatsByScreen *s = malloc_checked(sizeof(StatsByScreen)); | ||||
|     screen_init(&s->parent, "Stats by...", | ||||
|     screen_init(&s->parent, "Stats by", | ||||
|                 (ScreenDispatchFunc) stats_by_screen_dispatch, | ||||
|                 (ScreenCleanupFunc) free); | ||||
|     s->need_redraw = true; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user