Skip to content

Commit 603acd5

Browse files
committed
OTA: STM32H7 rename portenta namespace in STM32H747OTA
1 parent 5956436 commit 603acd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ota/implementation/OTASTM32H7.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define APOTA_LITTLEFS_FLAG (1 << 6)
2929
#define APOTA_MBR_FLAG (1 << 7)
3030

31-
namespace portenta {
31+
namespace STM32H747OTA {
3232
enum StorageType {
3333
QSPI_FLASH_FATFS = APOTA_QSPI_FLASH_FLAG | APOTA_FATFS_FLAG,
3434
QSPI_FLASH_FATFS_MBR = APOTA_QSPI_FLASH_FLAG | APOTA_FATFS_FLAG | APOTA_MBR_FLAG,
@@ -78,7 +78,7 @@ class STM32H7OTACloudProcess: public OTADefaultCloudProcessInterface {
7878
mbed::BlockDevice* _bd;
7979
mbed::FATFileSystem* _fs;
8080

81-
const portenta::StorageType storage=portenta::QSPI_FLASH_FATFS_MBR;
81+
const STM32H747OTA::StorageType storage=STM32H747OTA::QSPI_FLASH_FATFS_MBR;
8282
const uint32_t data_offset=2;
8383

8484
static const char UPDATE_FILE_NAME[];

0 commit comments

Comments
 (0)