From da79cbcf2866b0aa9808b66e8b30d4581aaf77df Mon Sep 17 00:00:00 2001 From: Tim Koczwara Date: Wed, 16 Apr 2025 09:54:33 +0200 Subject: [PATCH] Fixes the usage of sdkconfig to switch reset active high/low --- host/api/include/esp_hosted_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/api/include/esp_hosted_config.h b/host/api/include/esp_hosted_config.h index 570a17a..4c97482 100644 --- a/host/api/include/esp_hosted_config.h +++ b/host/api/include/esp_hosted_config.h @@ -331,7 +331,7 @@ enum { #define H_RESET_ACTIVE_HIGH 1 #endif -#ifdef H_RESET_ACTIVE_HIGH +#if H_RESET_ACTIVE_HIGH #define H_RESET_VAL_ACTIVE H_GPIO_HIGH #define H_RESET_VAL_INACTIVE H_GPIO_LOW #else