From d05d0dad2a68ed1fa4c8b3641bd03e1968dfe2cf Mon Sep 17 00:00:00 2001 From: Olivier Date: Sun, 9 Oct 2016 15:31:44 +0200 Subject: [PATCH] Fix HAL inconsistency --- core/MyHwATMega328.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/MyHwATMega328.h b/core/MyHwATMega328.h index 29352d4..45a7f59 100644 --- a/core/MyHwATMega328.h +++ b/core/MyHwATMega328.h @@ -80,7 +80,7 @@ do { \ // #define hwReadConfigBlock(__buf, __pos, __length) (eeprom_read_block((__buf), (void*)(__pos), (__length))) -#define hwWriteConfigBlock(__pos, __buf, __length) (eeprom_write_block((void*)(__pos), (void*)__buf, (__length))) +#define hwWriteConfigBlock(__buf, __pos, __length) (eeprom_write_block((void*)(__buf), (void*)(__pos), (__length)))