chen
2024-10-23 e0168d36f7b3dcc0bf4c4f3ab95485d1e2df7832
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)