Skip to content

Commit 09784c8

Browse files
committed
Moving inclusion of ArduinoOTAPortenta into the correct spot of the codebase.
1 parent 0801979 commit 09784c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ArduinoIoTCloudTCP.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,10 +457,6 @@ int ArduinoIoTCloudTCP::write(String const topic, byte const data[], int const l
457457
return 0;
458458
}
459459

460-
#if OTA_STORAGE_PORTENTA_QSPI
461-
#include "ArduinoOTAPortenta.h"
462-
#endif
463-
464460
#if OTA_ENABLED
465461
void ArduinoIoTCloudTCP::onOTARequest()
466462
{

src/utility/ota/OTA.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
#include <SFU.h>
3838
#endif /* OTA_STORAGE_SFU */
3939

40+
#if OTA_STORAGE_PORTENTA_QSPI
41+
#include <ArduinoOTAPortenta.h>
42+
#endif /* OTA_STORAGE_PORTENTA_QSPI */
43+
4044
/******************************************************************************
4145
* TYPEDEF
4246
******************************************************************************/

0 commit comments

Comments
 (0)