Skip to content

Commit 57fc4bf

Browse files
committed
BlockDevices: specify mbed namespace where needed
1 parent fef6667 commit 57fc4bf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

storage/blockdevice/COMPONENT_FLASHIAP/include/FlashIAP/FlashIAPBlockDevice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class FlashIAPBlockDevice : public mbed::BlockDevice {
134134
* @param size Size to erase in bytes
135135
* @return True if erase is valid for underlying block device
136136
*/
137-
virtual bool is_valid_erase(bd_addr_t addr, bd_size_t size) const;
137+
virtual bool is_valid_erase(mbed::bd_addr_t addr, mbed::bd_size_t size) const;
138138

139139

140140
private:

storage/blockdevice/COMPONENT_QSPIF/include/QSPIF/QSPIFBlockDevice.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
*/
5454
enum qspif_bd_error {
5555
QSPIF_BD_ERROR_OK = 0, /*!< no error */
56-
QSPIF_BD_ERROR_DEVICE_ERROR = BD_ERROR_DEVICE_ERROR, /*!< device specific error -4001 */
56+
QSPIF_BD_ERROR_DEVICE_ERROR = mbed::BD_ERROR_DEVICE_ERROR, /*!< device specific error -4001 */
5757
QSPIF_BD_ERROR_PARSING_FAILED = -4002, /* SFDP Parsing failed */
5858
QSPIF_BD_ERROR_READY_FAILED = -4003, /* Wait for Mem Ready failed */
5959
QSPIF_BD_ERROR_WREN_FAILED = -4004, /* Write Enable Failed */
@@ -289,7 +289,7 @@ class QSPIFBlockDevice : public mbed::BlockDevice {
289289
qspi_status_t _qspi_set_frequency(int freq);
290290

291291
// Update the 4-byte addressing extension register with the MSB of the address if it is in use
292-
qspi_status_t _qspi_update_4byte_ext_addr_reg(bd_addr_t addr);
292+
qspi_status_t _qspi_update_4byte_ext_addr_reg(mbed::bd_addr_t addr);
293293

294294
/*********************************/
295295
/* Flash Configuration Functions */

storage/blockdevice/COMPONENT_SPIF/include/SPIF/SPIFBlockDevice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ class SPIFBlockDevice : public mbed::BlockDevice {
280280
mbed::sfdp_hdr_info _sfdp_info;
281281

282282
unsigned int _page_size_bytes; // Page size - 256 Bytes default
283-
bd_size_t _device_size_bytes;
283+
mbed::bd_size_t _device_size_bytes;
284284

285285
// Bus configuration
286286
unsigned int _address_size; // number of bytes for address

0 commit comments

Comments
 (0)