Skip to content

Commit 790fc11

Browse files
committed
The #if OTA_ENABLED preprocessor guards can be safely removed here, since it will not have any impact on the compilation process but enhances clarity for the programmer.
1 parent c58dad7 commit 790fc11

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/utility/ota/OTA.h

-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
******************************************************************************/
2424

2525
#include <AIoTC_Config.h>
26-
#if OTA_ENABLED
2726

2827
#if OTA_STORAGE_SNU && !defined(ARDUINO_AVR_UNO_WIFI_REV2)
2928
#include <SNU.h>
@@ -59,6 +58,4 @@ enum class OTAError : int
5958
int samd_onOTARequest(char const * ota_url);
6059
#endif
6160

62-
#endif /* OTA_ENABLED */
63-
6461
#endif /* ARDUINO_OTA_LOGIC_H_ */

0 commit comments

Comments
 (0)