Skip to content

Commit cf832bb

Browse files
committed
Make getOTAData a private static function
1 parent 3d5c02e commit cf832bb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

envie/ota.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#define SD_OTA_TEST 1
2222

23-
void getOTAData(enum storageType* storage_type, uint32_t* data_offset, uint32_t* update_size) {
23+
static void getOTAData(enum storageType* storage_type, uint32_t* data_offset, uint32_t* update_size) {
2424
RTCInit();
2525
/*
2626
* Magic 0x07AA is set by Arduino_Portenta_OTA

envie/ota.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,4 @@ enum storageType {
3333
#define NO_OTA_FILE (-3)
3434
#define INIT_FAILED (-4)
3535

36-
void getOTAData(enum storageType* storage_type, uint32_t* data_offset, uint32_t* update_size);
37-
3836
#endif //__OTA_H

0 commit comments

Comments
 (0)