Skip to content

Commit a272ff6

Browse files
authored
Update declaration to match definition exactly
1 parent 578cd84 commit a272ff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/BlockDevices/CodeFlashBlockDevice.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ using FLASH_set_callback_f = fsp_err_t (*)(flash_ctrl_t * const p_api_ct
5454
class CodeFlashBlockDevice : public BlockDevice {
5555
private:
5656
CodeFlashBlockDevice();
57-
int erase_block(uint32_t add);
58-
int check_blank(uint32_t add);
57+
int erase_block(bd_addr_t add);
58+
int check_blank(bd_addr_t add);
5959
uint32_t get_block_starting_address(bd_addr_t add);
6060
uint32_t get_physical_address(bd_addr_t add);
6161
virtual int write(const void *buffer, bd_addr_t addr, bd_size_t size) override;

0 commit comments

Comments
 (0)