diff options
author | Wesley Aptekar-Cassels <me@wesleyac.com> | 2024-01-21 01:21:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-21 01:21:32 -0500 |
commit | 9e41ac8e4983f01df1c853e7683e12c8acd61b04 (patch) | |
tree | 3c3e1e9006ab6d86dd06bb3805976f2b0fd32cc1 | |
parent | 07e45acba7c47748a382ef63ab35b04dd22bdc9b (diff) | |
parent | 6985ca54f31f5a825661c4e0fdf07622bbf1d07c (diff) | |
download | Sensor-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.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)); |