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)))