Skip to content

Commit

Permalink
Fix GPIO levels
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbj29 committed Jan 10, 2024
1 parent 19888ff commit a194635
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ esp_err_t app_driver_led_on()
led_strip->refresh( led_strip, 100 );
#endif
#elif CONFIG_GRI_TEMPERATURE_PUB_SUB_AND_LED_CONTROL_DEMO_LED_GPIO
ret = gpio_set_level( GRI_LED_GPIO, 0 );
ret = gpio_set_level( GRI_LED_GPIO, 1 );
#endif /* ifdef CONFIG_GRI_TEMPERATURE_PUB_SUB_AND_LED_CONTROL_DEMO_LED_RMT */
return ret;
}
Expand All @@ -117,7 +117,7 @@ esp_err_t app_driver_led_off()
led_strip->clear( led_strip, 50 );
#endif
#elif CONFIG_GRI_TEMPERATURE_PUB_SUB_AND_LED_CONTROL_DEMO_LED_GPIO
ret = gpio_set_level( GRI_LED_GPIO, 1 );
ret = gpio_set_level( GRI_LED_GPIO, 0 );
#endif
return ret;
}
Expand Down

0 comments on commit a194635

Please sign in to comment.