summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/complications/beats_face.h
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2021-12-01 10:43:01 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2021-12-01 10:43:01 -0500
commit0f89c11eba9b0312b0d2fa06f8a73395cfb66973 (patch)
tree8975ee924d29a149cbb784e7e5489f33b9d3d19a /movement/watch_faces/complications/beats_face.h
parent36be251e893a0f9c186e409952c06e93d1031f7d (diff)
downloadSensor-Watch-0f89c11eba9b0312b0d2fa06f8a73395cfb66973.tar.gz
Sensor-Watch-0f89c11eba9b0312b0d2fa06f8a73395cfb66973.tar.bz2
Sensor-Watch-0f89c11eba9b0312b0d2fa06f8a73395cfb66973.zip
movement: remove floating point math from beats face
Diffstat (limited to 'movement/watch_faces/complications/beats_face.h')
-rw-r--r--movement/watch_faces/complications/beats_face.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/movement/watch_faces/complications/beats_face.h b/movement/watch_faces/complications/beats_face.h
index fe34f5aa..343e9a27 100644
--- a/movement/watch_faces/complications/beats_face.h
+++ b/movement/watch_faces/complications/beats_face.h
@@ -3,7 +3,7 @@
#include "movement.h"
-float clock2beats(uint16_t, uint16_t, uint16_t, uint16_t, int16_t);
+uint32_t clock2beats(uint32_t hours, uint32_t minutes, uint32_t seconds, uint32_t subseconds, int16_t utc_offset);
void beats_face_setup(movement_settings_t *settings, void ** context_ptr);
void beats_face_activate(movement_settings_t *settings, void *context);
bool beats_face_loop(movement_event_t event, movement_settings_t *settings, void *context);