mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 05:27:01 +03:00
first commit of GPIO expander
This commit is contained in:
@@ -100,6 +100,10 @@ void services_init(void) {
|
||||
ESP_LOGW(TAG, "no SPI configured");
|
||||
}
|
||||
|
||||
// create GPIO expander
|
||||
const gpio_exp_config_t * gpio_exp_config = config_gpio_exp_get();
|
||||
if (gpio_exp_config) gpio_exp_create(gpio_exp_config);
|
||||
|
||||
// system-wide PWM timer configuration
|
||||
ledc_timer_config_t pwm_timer = {
|
||||
.duty_resolution = LEDC_TIMER_13_BIT,
|
||||
|
||||
Reference in New Issue
Block a user