aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/lib')
-rw-r--r--os/hal/lib/peripherals/flash/hal_flash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/lib/peripherals/flash/hal_flash.h b/os/hal/lib/peripherals/flash/hal_flash.h
index 3544b328f..722326607 100644
--- a/os/hal/lib/peripherals/flash/hal_flash.h
+++ b/os/hal/lib/peripherals/flash/hal_flash.h
@@ -255,7 +255,7 @@ typedef struct {
*
* @api
*/
-#define flashProgram(ip) \
+#define flashProgram(ip, addr, pp, n) \
(ip)->vmt_baseflash->program(ip, addr, pp, n)
/**
@@ -269,7 +269,7 @@ typedef struct {
*
* @api
*/
-#define flashRead(ip) \
+#define flashRead(ip, addr, rp, n) \
(ip)->vmt_baseflash->read(ip, addr, rp, n)
/** @} */