From 6985ca54f31f5a825661c4e0fdf07622bbf1d07c Mon Sep 17 00:00:00 2001 From: CarpeNoctem Date: Wed, 17 Jan 2024 23:08:54 +1100 Subject: [PATCH] template: fix compiler warning on watch_face_index as mentioned in PR 269 --- movement/template/template.c | 1 + 1 file changed, 1 insertion(+) diff --git a/movement/template/template.c b/movement/template/template.c index e03db56..fe2723b 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));