chen
2024-10-29 049ab03be5ec9c6e2f849944d57af583c5c177b0
keil/include/board/board.c
@@ -408,8 +408,10 @@
void board_led_init(void)
{
    gpio_pin_set_dir(BOARD_LED_1, GPIO_DIR_OUT, 0);
    gpio_pin_set_dir(BOARD_LED_2, GPIO_DIR_OUT, 0);
    //灯
      io_pin_mux_set(LED_PIN, IO_FUNC0);
      gpio_pin_set_dir( LED_PIN, GPIO_DIR_OUT, 0);
      io_pull_set(LED_PIN , IO_PULL_DOWN, IO_PULL_UP_LEVEL4);
}
void board_led_on(enum IO_PIN_T idx)