File tree 3 files changed +15
-1
lines changed
3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 26
26
#define OTA_STORAGE_MKRMEM (0)
27
27
#endif
28
28
29
+ #ifndef OTA_STORAGE_MKRGSM
30
+ #define OTA_STORAGE_MKRGSM (0)
31
+ #endif
32
+
29
33
/******************************************************************************
30
34
* AUTOMATIC CONFIGURED DEFINES
31
35
******************************************************************************/
34
38
#define OTA_STORAGE_MKRMEM (0)
35
39
#endif
36
40
37
- #if OTA_STORAGE_MKRMEM
41
+ #if OTA_STORAGE_MKRMEM || OTA_STORAGE_MKRGSM
38
42
#define OTA_ENABLED (1)
39
43
#else
40
44
#define OTA_ENABLED (0)
Original file line number Diff line number Diff line change 19
19
INCLUDE
20
20
******************************************************************************/
21
21
22
+ #include < ArduinoIoTCloud_Config.h>
23
+ #if OTA_STORAGE_MKRGSM
24
+
22
25
#include " OTAStorage_MKRGSM.h"
23
26
24
27
/* *****************************************************************************
@@ -83,3 +86,5 @@ void OTAStorage_MKRGSM::deinit()
83
86
{
84
87
/* Nothing to do */
85
88
}
89
+
90
+ #endif /* OTA_STORAGE_MKRGSM */
Original file line number Diff line number Diff line change 22
22
* INCLUDE
23
23
******************************************************************************/
24
24
25
+ #include < ArduinoIoTCloud_Config.h>
26
+ #if OTA_STORAGE_MKRGSM
27
+
25
28
#include " OTAStorage.h"
26
29
27
30
#include < GSMFileUtils.h>
@@ -52,4 +55,6 @@ class OTAStorage_MKRGSM : public OTAStorage
52
55
53
56
};
54
57
58
+ #endif /* OTA_STORAGE_MKRGSM */
59
+
55
60
#endif /* ARDUINO_OTA_STORAGE_MKRGSM_H_ */
You can’t perform that action at this time.
0 commit comments