File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ OTACloudProcessInterface::State STM32H7OTACloudProcess::flashOTA() {
8484
8585 // this sets the registries in RTC to load the firmware from the storage selected at the next reboot
8686 STM32H747::writeBackupRegister (RTCBackup::DR0, 0x07AA );
87- STM32H747::writeBackupRegister (RTCBackup::DR1, storage );
87+ STM32H747::writeBackupRegister (RTCBackup::DR1, STM32H747OTA::StorageType::QSPI_FLASH_FATFS_MBR );
8888 STM32H747::writeBackupRegister (RTCBackup::DR2, data_offset);
8989 STM32H747::writeBackupRegister (RTCBackup::DR3, _program_length);
9090
Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ class STM32H7OTACloudProcess: public OTADefaultCloudProcessInterface {
7878 mbed::BlockDevice* _bd;
7979 mbed::FATFileSystem* _fs;
8080
81- const STM32H747OTA::StorageType storage=STM32H747OTA::QSPI_FLASH_FATFS_MBR;
8281 const uint32_t data_offset=2 ;
8382
8483 static const char UPDATE_FILE_NAME[];
You can’t perform that action at this time.
0 commit comments