refactor DAC handling

This commit is contained in:
Philippe G
2020-08-01 19:31:58 -07:00
parent 77e8c29936
commit 9fd792cf98
12 changed files with 183 additions and 187 deletions

View File

@@ -168,7 +168,7 @@ int led_allocate(void) {
*/
bool led_config(int idx, gpio_num_t gpio, int onstate, int pwm) {
if (gpio < 0) {
ESP_LOGW(TAG,"LED GPIO not configured");
ESP_LOGW(TAG,"LED GPIO -1 ignored");
return false;
}