Skip to content

Commit 5854c65

Browse files
TiKoESoPeSohKamYung-Espressif
authored andcommitted
bugfix(reset_config) Fixes the usage of sdkconfig to switch reset active high/low
- Closes #44
1 parent 96bea3a commit 5854c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

host/api/include/esp_hosted_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ enum {
331331
#define H_RESET_ACTIVE_HIGH 1
332332
#endif
333333

334-
#ifdef H_RESET_ACTIVE_HIGH
334+
#if H_RESET_ACTIVE_HIGH
335335
#define H_RESET_VAL_ACTIVE H_GPIO_HIGH
336336
#define H_RESET_VAL_INACTIVE H_GPIO_LOW
337337
#else

0 commit comments

Comments
 (0)