Skip to content

Commit 8d40a8a

Browse files
authored
Update declaration to match definition exactly
1 parent a272ff6 commit 8d40a8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/BlockDevices/DataFlashBlockDevice.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ using FLASH_set_callback_f = fsp_err_t (*)(flash_ctrl_t * const p_api_ct
7373
class DataFlashBlockDevice : public BlockDevice {
7474
private:
7575
DataFlashBlockDevice();
76-
int erase_block(uint32_t add);
77-
int check_blank(uint32_t add);
76+
int erase_block(bd_addr_t add);
77+
int check_blank(bd_addr_t add);
7878
uint32_t get_block_starting_address(bd_addr_t add);
7979
uint32_t get_physical_address(bd_addr_t add);
8080
bool is_address_correct(bd_addr_t add);
@@ -136,4 +136,4 @@ class DataFlashBlockDevice : public BlockDevice {
136136
};
137137

138138

139-
#endif
139+
#endif

0 commit comments

Comments
 (0)