File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 19
19
* INCLUDE
20
20
******************************************************************************/
21
21
22
- #include < ArduinoIoTCloud_Config.h>
22
+ #ifndef HOST
23
+ #include < ArduinoIoTCloud_Config.h>
24
+ #else
25
+ #define OTA_ENABLED (1 )
26
+ #endif
23
27
#if OTA_ENABLED
24
28
25
29
#include " OTALogic.h"
Original file line number Diff line number Diff line change 22
22
* INCLUDE
23
23
******************************************************************************/
24
24
25
- #include < ArduinoIoTCloud_Config.h>
25
+ #ifndef HOST
26
+ #include < ArduinoIoTCloud_Config.h>
27
+ #else
28
+ #define OTA_ENABLED (1 )
29
+ #endif
26
30
#if OTA_ENABLED
27
31
28
32
#include " OTAStorage.h"
Original file line number Diff line number Diff line change 14
14
* - Algorithm = table-driven
15
15
*/
16
16
17
- #include < ArduinoIoTCloud_Config.h>
17
+ #ifndef HOST
18
+ #include < ArduinoIoTCloud_Config.h>
19
+ #else
20
+ #define OTA_ENABLED (1 )
21
+ #endif
18
22
#if OTA_ENABLED
19
23
20
24
#include " crc.h" /* include the header file generated with pycrc */
Original file line number Diff line number Diff line change 40
40
#ifndef CRC_H
41
41
#define CRC_H
42
42
43
- #include <ArduinoIoTCloud_Config.h>
43
+ #ifndef HOST
44
+ #include <ArduinoIoTCloud_Config.h>
45
+ #else
46
+ #define OTA_ENABLED (1)
47
+ #endif
44
48
#if OTA_ENABLED
45
49
46
50
#include <stdlib.h>
You can’t perform that action at this time.
0 commit comments