Browse Source

update

master
zwsd 3 years ago
parent
commit
a389c554d8
  1. 3
      main/main.c

3
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_config_t gpio_grb_led_structer;
gpio_grb_led_structer.intr_type = GPIO_INTR_DISABLE; gpio_grb_led_structer.intr_type = GPIO_INTR_DISABLE;
@ -109,6 +109,7 @@ void gpio_debug_light_init() {
} }
void app_main(void) { void app_main(void) {
gpio_input_key_init();
bleuart_init(&ble_uart_init_struct); bleuart_init(&ble_uart_init_struct);
bleuart_reg_cb(blerxcb); bleuart_reg_cb(blerxcb);

Loading…
Cancel
Save