WOW !! !! !! #302

This commit is contained in:
rusefillc 2025-03-07 15:03:38 -05:00
parent e1d008f68c
commit d06be0c47f
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}