diff options
author | CarpeNoctem <cryptomax@pm.me> | 2024-01-17 23:08:54 +1100 |
---|---|---|
committer | CarpeNoctem <cryptomax@pm.me> | 2024-01-17 23:08:54 +1100 |
commit | 6985ca54f31f5a825661c4e0fdf07622bbf1d07c (patch) | |
tree | 3c3e1e9006ab6d86dd06bb3805976f2b0fd32cc1 | |
parent | 07e45acba7c47748a382ef63ab35b04dd22bdc9b (diff) | |
download | Sensor-Watch-6985ca54f31f5a825661c4e0fdf07622bbf1d07c.tar.gz Sensor-Watch-6985ca54f31f5a825661c4e0fdf07622bbf1d07c.tar.bz2 Sensor-Watch-6985ca54f31f5a825661c4e0fdf07622bbf1d07c.zip |
template: fix compiler warning on watch_face_index as mentioned in PR 269
-rw-r--r-- | movement/template/template.c | 1 |
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)); |