Work on README.md and fix some capitalization problems

This commit is contained in:
2024-04-10 18:39:46 -07:00
parent 56a5060fa1
commit 940c5b3f99
6 changed files with 50 additions and 21 deletions

View File

@ -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>

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;