We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 578cd84 commit a272ff6Copy full SHA for a272ff6
libraries/BlockDevices/CodeFlashBlockDevice.h
@@ -54,8 +54,8 @@ using FLASH_set_callback_f = fsp_err_t (*)(flash_ctrl_t * const p_api_ct
54
class CodeFlashBlockDevice : public BlockDevice {
55
private:
56
CodeFlashBlockDevice();
57
- int erase_block(uint32_t add);
58
- int check_blank(uint32_t add);
+ int erase_block(bd_addr_t add);
+ int check_blank(bd_addr_t add);
59
uint32_t get_block_starting_address(bd_addr_t add);
60
uint32_t get_physical_address(bd_addr_t add);
61
virtual int write(const void *buffer, bd_addr_t addr, bd_size_t size) override;
0 commit comments