We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d5c02e commit cf832bbCopy full SHA for cf832bb
envie/ota.cpp
@@ -20,7 +20,7 @@
20
21
#define SD_OTA_TEST 1
22
23
-void getOTAData(enum storageType* storage_type, uint32_t* data_offset, uint32_t* update_size) {
+static void getOTAData(enum storageType* storage_type, uint32_t* data_offset, uint32_t* update_size) {
24
RTCInit();
25
/*
26
* Magic 0x07AA is set by Arduino_Portenta_OTA
envie/ota.h
@@ -33,6 +33,4 @@ enum storageType {
33
#define NO_OTA_FILE (-3)
34
#define INIT_FAILED (-4)
35
36
-void getOTAData(enum storageType* storage_type, uint32_t* data_offset, uint32_t* update_size);
37
-
38
#endif //__OTA_H
0 commit comments