From 505926825e557cc182025f45043397901cf65f75 Mon Sep 17 00:00:00 2001 From: Derek Jamison Date: Sat, 15 Apr 2023 15:47:19 -0400 Subject: [PATCH] Add UNUSED to functions --- hid/hid_cookie/views/hid_cc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hid/hid_cookie/views/hid_cc.c b/hid/hid_cookie/views/hid_cc.c index 3cd0fc1..6d00594 100644 --- a/hid/hid_cookie/views/hid_cc.c +++ b/hid/hid_cookie/views/hid_cc.c @@ -120,6 +120,7 @@ static void hid_cc_reset_cursor(HidCC* hid_cc) { } static void hid_cc_process_press(HidCC* hid_cc, HidCCModel* model, InputEvent* event) { + UNUSED(hid_cc); if(event->key == InputKeyUp) { model->up_pressed = true; } else if(event->key == InputKeyDown) { @@ -130,6 +131,7 @@ static void hid_cc_process_press(HidCC* hid_cc, HidCCModel* model, InputEvent* e } static void hid_cc_process_release(HidCC* hid_cc, HidCCModel* model, InputEvent* event) { + UNUSED(hid_cc); if(event->key == InputKeyUp) { model->up_pressed = false; } else if(event->key == InputKeyDown) {