fix in ota upstream to parent and other neighbours
This commit is contained in:
@ -66,6 +66,10 @@ esp_err_t errBlinkyLEDInitialize(void)
|
||||
gpio_set_level(GPIO_LED_GREEN, 1); //switch on
|
||||
#endif
|
||||
|
||||
#ifndef NEW_VERSION
|
||||
gpio_set_level(GPIO_LED_GREEN, 0); //switch off
|
||||
#endif
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
@ -86,11 +90,8 @@ void vGPIOInitialize(void)
|
||||
//LED as Output
|
||||
gpio_reset_pin(GPIO_LED_BLUE);
|
||||
gpio_set_direction(GPIO_LED_BLUE, GPIO_MODE_OUTPUT);
|
||||
|
||||
#ifdef NEW_VERSION
|
||||
gpio_reset_pin(GPIO_LED_GREEN);
|
||||
gpio_set_direction(GPIO_LED_GREEN, GPIO_MODE_OUTPUT);
|
||||
#endif
|
||||
|
||||
//BTN as Input
|
||||
gpioConf.intr_type = GPIO_INTR_DISABLE;
|
||||
|
Reference in New Issue
Block a user