working A1S!

This commit is contained in:
philippe44
2020-02-03 23:22:11 -08:00
parent 79942a03fe
commit 8a7fc32b68
2 changed files with 8 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ bool spkfault_svc (void) {
void monitor_svc_init(void) {
ESP_LOGI(TAG, "Initializing monitoring");
#ifdef JACK_GPIO
#if defined(JACK_GPIO) && JACK_GPIO != -1
gpio_pad_select_gpio(JACK_GPIO);
gpio_set_direction(JACK_GPIO, GPIO_MODE_INPUT);