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();