diff --git a/main/main.c b/main/main.c index b57c814..6f2ff6f 100644 --- a/main/main.c +++ b/main/main.c @@ -96,7 +96,7 @@ void motor_on_event(motor_event_t event) { } } -void gpio_debug_light_init() { +void gpio_input_key_init() { gpio_config_t gpio_grb_led_structer; gpio_grb_led_structer.intr_type = GPIO_INTR_DISABLE; @@ -109,6 +109,7 @@ void gpio_debug_light_init() { } void app_main(void) { + gpio_input_key_init(); bleuart_init(&ble_uart_init_struct); bleuart_reg_cb(blerxcb);