We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc32808 commit f163f37Copy full SHA for f163f37
cores/esp32/esp32-hal.h
@@ -62,16 +62,16 @@ extern "C" {
62
#endif
63
64
#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
65
-const uint8_t BOOT_PIN = 0;
+static const uint8_t BOOT_PIN = 0;
66
#define BOOT_PIN BOOT_PIN
67
#elif CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32C61
68
-const uint8_t BOOT_PIN = 9;
+static const uint8_t BOOT_PIN = 9;
69
70
#elif CONFIG_IDF_TARGET_ESP32P4
71
-const uint8_t BOOT_PIN = 35;
+static const uint8_t BOOT_PIN = 35;
72
73
#elif CONFIG_IDF_TARGET_ESP32C5
74
-const uint8_t BOOT_PIN = 28;
+static const uint8_t BOOT_PIN = 28;
75
76
77
0 commit comments