From d7f667bc6189583a63a465ec753f1061e481d4bc Mon Sep 17 00:00:00 2001 From: rehius <128579193+rehius@users.noreply.github.com> Date: Fri, 30 Aug 2024 06:19:17 +0000 Subject: [PATCH] Update board_detect.h --- board_detect.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board_detect.h b/board_detect.h index 637a29c..1310c33 100644 --- a/board_detect.h +++ b/board_detect.h @@ -1,11 +1,12 @@ #include "stdbool.h" -bool detect_by_pull_up(int frc_pin, int det_pin); +bool detect_by_pull(int frc_pin, int det_pin, bool up); void detect_board(); int gli_pin(); int pwr_pin(); int led_pin(); bool is_pico(); +bool is_tiny(); int scl_pin(); -int sda_pin(); \ No newline at end of file +int sda_pin();