mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-28 12:10:45 +00:00
soc: updates caps usage
We should define caps as 1 if true. When use the caps macros, #if and #if ! should be used instead of #ifdef/#ifndef.
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#define BROWNOUT_DET_LVL 0
|
||||
#endif
|
||||
|
||||
#ifdef SOC_BROWNOUT_RESET_SUPPORTED
|
||||
#if SOC_BROWNOUT_RESET_SUPPORTED
|
||||
#define BROWNOUT_RESET_EN true
|
||||
#else
|
||||
#define BROWNOUT_RESET_EN false
|
||||
|
||||
Reference in New Issue
Block a user