From d06be0c47fb790b9e7632f038bd8808b13e3cee0 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 7 Mar 2025 15:03:38 -0500 Subject: [PATCH] WOW !! !! !! #302 --- GDI-4ch/firmware/misc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GDI-4ch/firmware/misc.cpp b/GDI-4ch/firmware/misc.cpp index 93f7961..b7c9c73 100644 --- a/GDI-4ch/firmware/misc.cpp +++ b/GDI-4ch/firmware/misc.cpp @@ -15,5 +15,6 @@ void miscInit(void) * return 0 or 1 */ int boardGetId(void) { + // you would not believe it: double-exclamation mark is a feature here to guarantee 0 or 1 value return !!palReadPad(BOARD_ID_PORT, BOARD_ID_PIN); }