Change default LED state to off
This commit is contained in:
parent
93ed3034c0
commit
ecbe8c3376
|
@ -84,7 +84,7 @@ void board_init(void)
|
||||||
PORT_SetPinMux(LED_PIN_PORT, LED_PIN, LED_PIN_FUNCTION);
|
PORT_SetPinMux(LED_PIN_PORT, LED_PIN, LED_PIN_FUNCTION);
|
||||||
gpio_pin_config_t led_config = { kGPIO_DigitalOutput, 0 };
|
gpio_pin_config_t led_config = { kGPIO_DigitalOutput, 0 };
|
||||||
GPIO_PinInit(LED_PORT, LED_PIN, &led_config);
|
GPIO_PinInit(LED_PORT, LED_PIN, &led_config);
|
||||||
board_led_write(true);
|
board_led_write(false);
|
||||||
|
|
||||||
// UART
|
// UART
|
||||||
CLOCK_EnableClock(UART_PIN_CLOCK);
|
CLOCK_EnableClock(UART_PIN_CLOCK);
|
||||||
|
|
Loading…
Reference in New Issue