summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWesley Aptekar-Cassels <me@wesleyac.com>2024-01-21 01:21:32 -0500
committerGitHub <noreply@github.com>2024-01-21 01:21:32 -0500
commit9e41ac8e4983f01df1c853e7683e12c8acd61b04 (patch)
tree3c3e1e9006ab6d86dd06bb3805976f2b0fd32cc1
parent07e45acba7c47748a382ef63ab35b04dd22bdc9b (diff)
parent6985ca54f31f5a825661c4e0fdf07622bbf1d07c (diff)
downloadSensor-Watch-9e41ac8e4983f01df1c853e7683e12c8acd61b04.tar.gz
Sensor-Watch-9e41ac8e4983f01df1c853e7683e12c8acd61b04.tar.bz2
Sensor-Watch-9e41ac8e4983f01df1c853e7683e12c8acd61b04.zip
Merge pull request #360 from CarpeNoctem/compiler_warning_watch_face_index
template: fix compiler warning on watch_face_index as mentioned in PR269
-rw-r--r--movement/template/template.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/movement/template/template.c b/movement/template/template.c
index e03db561..fe2723b8 100644
--- a/movement/template/template.c
+++ b/movement/template/template.c
@@ -28,6 +28,7 @@
void <#watch_face_name#>_face_setup(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr) {
(void) settings;
+ (void) watch_face_index;
if (*context_ptr == NULL) {
*context_ptr = malloc(sizeof(<#watch_face_name#>_state_t));
memset(*context_ptr, 0, sizeof(<#watch_face_name#>_state_t));