summaryrefslogtreecommitdiffstats
path: root/launcher/widgets/complications
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-10-06 10:25:28 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-10-06 11:17:16 -0400
commit3516f4295eafbb04f7ccd1f4947c4921fae6e9bf (patch)
treecf70627d085cf3a6a9b51330ec82b7543f1e029f /launcher/widgets/complications
parent12ee9221354c863bddb21a076dd3e3bdface3c67 (diff)
downloadSensor-Watch-3516f4295eafbb04f7ccd1f4947c4921fae6e9bf.tar.gz
Sensor-Watch-3516f4295eafbb04f7ccd1f4947c4921fae6e9bf.tar.bz2
Sensor-Watch-3516f4295eafbb04f7ccd1f4947c4921fae6e9bf.zip
launcher: clean up structs
Diffstat (limited to 'launcher/widgets/complications')
-rw-r--r--launcher/widgets/complications/pulseometer_widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/widgets/complications/pulseometer_widget.c b/launcher/widgets/complications/pulseometer_widget.c
index 3df1cb44..a7272dcb 100644
--- a/launcher/widgets/complications/pulseometer_widget.c
+++ b/launcher/widgets/complications/pulseometer_widget.c
@@ -20,7 +20,7 @@ bool pulseometer_widget_loop(LauncherEvent event, LauncherSettings *settings, vo
char buf[14];
// starts at index 15
const uint8_t pulse_lookup[] = {240, 225, 212, 200, 189, 180, 171, 164, 157, 150, 144, 138, 133, 129, 124, 120, 116, 113, 109, 106, 103, 100, 97, 95, 92, 90, 88, 86, 84, 82, 80, 78, 77, 75, 73, 72, 71, 69, 68, 67, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 55, 54, 53, 52, 51, 51, 50, 49, 49, 48, 47, 47, 46, 46, 45, 44, 44, 43, 43, 42, 42, 41, 41, 40, 40, 40};
- switch (event.bit.event_type) {
+ switch (event.event_type) {
case EVENT_TICK:
if (pulsometer_state->pulse == 0 && !pulsometer_state->measuring) {
switch (pulsometer_state->ticks % 5) {