We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7317834 commit a7842fcCopy full SHA for a7842fc
src/ota/implementation/OTASTM32H7.cpp
@@ -89,6 +89,10 @@ OTACloudProcessInterface::State STM32H7OTACloudProcess::flashOTA() {
89
STM32H747::writeBackupRegister(RTCBackup::DR0, 0x07AA);
90
STM32H747::writeBackupRegister(RTCBackup::DR1, storage);
91
STM32H747::writeBackupRegister(RTCBackup::DR2, data_offset);
92
+
93
+ if(_program_length == 0) {
94
+ DEBUG_VERBOSE("Program length is 0");
95
+ }
96
STM32H747::writeBackupRegister(RTCBackup::DR3, _program_length);
97
98
return Reboot;
0 commit comments