From 58c9c8f51dcec555250195d127a49572c1b9fd9a Mon Sep 17 00:00:00 2001 From: krolyxon Date: Thu, 14 May 2026 23:19:41 +0530 Subject: add .clang-format, and apply formatting --- src/utils/buttons.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/utils/buttons.cpp') diff --git a/src/utils/buttons.cpp b/src/utils/buttons.cpp index 1e93150..d257c58 100644 --- a/src/utils/buttons.cpp +++ b/src/utils/buttons.cpp @@ -3,12 +3,12 @@ #include void buttonsInit() { - pinMode(BTN_UP, INPUT_PULLUP); - pinMode(BTN_DOWN, INPUT_PULLUP); - pinMode(BTN_SELECT, INPUT_PULLUP); - pinMode(BTN_BACK, INPUT_PULLUP); - pinMode(BTN_RIGHT, INPUT_PULLUP); - pinMode(BTN_LEFT, INPUT_PULLUP); + pinMode(BTN_UP, INPUT_PULLUP); + pinMode(BTN_DOWN, INPUT_PULLUP); + pinMode(BTN_SELECT, INPUT_PULLUP); + pinMode(BTN_BACK, INPUT_PULLUP); + pinMode(BTN_RIGHT, INPUT_PULLUP); + pinMode(BTN_LEFT, INPUT_PULLUP); } bool btnUp() { return !digitalRead(BTN_UP); } -- cgit v1.2.3