summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2025-09-10 19:37:28 +0100
committerSam Light <sam@lightscale.co.uk>2025-09-10 19:37:28 +0100
commit4d3e462531d2172cb13319c7f79c0e2228e652fa (patch)
tree6381426e806b30814890e74085afef17e3ee78f3 /src/text.h
parentb74a383e6ded85c122f98137936d78f768f8f938 (diff)
Big update
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/text.h b/src/text.h
index ff6ead7..22ab889 100644
--- a/src/text.h
+++ b/src/text.h
@@ -6,18 +6,10 @@
#define TEXT_SIZE 512
-struct text {
- time_t last_update;
- char value[TEXT_SIZE];
-
- struct battery * battery;
- struct pulse * pulse;
- struct time * time;
-};
-
struct text * text_new();
void text_free(struct text *);
void text_update(struct text *);
+const char * text_get_val(struct text *);
#endif