From 3cf847901779304308b108a153802fb51d79784b Mon Sep 17 00:00:00 2001 From: morris Date: Tue, 24 Mar 2020 16:07:50 +0800 Subject: [PATCH] doc: always adopt latest chip revision --- components/soc/soc/esp32/include/soc/brownout_caps.h | 2 +- components/soc/soc/esp32/include/soc/can_caps.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/soc/soc/esp32/include/soc/brownout_caps.h b/components/soc/soc/esp32/include/soc/brownout_caps.h index 079386811..3d96a52df 100644 --- a/components/soc/soc/esp32/include/soc/brownout_caps.h +++ b/components/soc/soc/esp32/include/soc/brownout_caps.h @@ -20,7 +20,7 @@ extern "C" { #include "sdkconfig.h" -#if (CONFIG_ESP32_REV_MIN >= 1) +#if __DOXYGEN__ || (CONFIG_ESP32_REV_MIN >= 1) #define SOC_BROWNOUT_RESET_SUPPORTED 1 #endif diff --git a/components/soc/soc/esp32/include/soc/can_caps.h b/components/soc/soc/esp32/include/soc/can_caps.h index 2d2df9c43..19294fd85 100644 --- a/components/soc/soc/esp32/include/soc/can_caps.h +++ b/components/soc/soc/esp32/include/soc/can_caps.h @@ -20,7 +20,7 @@ extern "C" { #include "sdkconfig.h" -#if (CONFIG_ESP32_REV_MIN >= 2) +#if __DOXYGEN__ || (CONFIG_ESP32_REV_MIN >= 2) #define CAN_BRP_DIV_SUPPORTED 1 #define CAN_BRP_DIV_THRESH 128 //Any even number from 2 to 128, or multiples of 4 from 132 to 256