Skip to content

Commit 44b5dc3

Browse files
committed
OTA: STM32H7 remove commented code
1 parent e5eca05 commit 44b5dc3

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/ota/implementation/OTASTM32H7.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,14 +198,12 @@ bool findProgramLength(DIR * dir, uint32_t & program_length) {
198198
return false;
199199
}
200200

201-
// extern uint32_t __stext = ~0;
202201
extern uint32_t __etext;
203202
extern uint32_t _sdata;
204203
extern uint32_t _edata;
205204

206205
void* STM32H7OTACloudProcess::appStartAddress() {
207206
return (void*)0x8040000;
208-
// return &__stext;
209207
}
210208

211209
uint32_t STM32H7OTACloudProcess::appSize() {

src/ota/implementation/OTASTM32H7.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ class STM32H7OTACloudProcess: public OTADefaultCloudProcessInterface {
7272
void storageClean();
7373

7474
FILE* decompressed;
75-
// static const char UPDATE_FILE_NAME[];
7675
mbed::BlockDevice* _bd_raw_qspi;
7776
uint32_t _program_length;
7877

0 commit comments

Comments
 (0)