Skip to content

Commit 7076c27

Browse files
committed
Ensure that OTA_ENABLE is set correctly.
1 parent b4806cc commit 7076c27

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/AIoTC_Config.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,11 @@
102102

103103
#if defined(ARDUINO_PORTENTA_H7_M7)
104104
#define OTA_STORAGE_PORTENTA_QSPI (1)
105-
#define OTA_STORAGE_PORTENTA (1)
106105
#else
107106
#define OTA_STORAGE_PORTENTA_QSPI (0)
108107
#endif
109108

110-
#if (OTA_STORAGE_SFU || OTA_STORAGE_SSU || OTA_STORAGE_SNU) && !defined(ARDUINO_AVR_UNO_WIFI_REV2)
109+
#if (OTA_STORAGE_SFU || OTA_STORAGE_SSU || OTA_STORAGE_SNU || OTA_STORAGE_PORTENTA_QSPI) && !defined(ARDUINO_AVR_UNO_WIFI_REV2)
111110
#define OTA_ENABLED (1)
112111
#else
113112
#define OTA_ENABLED (0)

0 commit comments

Comments
 (0)