From d9bcf00f69313b6dd42346d6af340a1a9874ba9f Mon Sep 17 00:00:00 2001 From: Marcus Müller Date: Mon, 16 Jan 2017 15:54:57 +0100 Subject: made FX2 EEPROMS and firmware build with modern SDCC 3.6 --- firmware/fx2/b100/eeprom_io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/fx2/b100/eeprom_io.h') diff --git a/firmware/fx2/b100/eeprom_io.h b/firmware/fx2/b100/eeprom_io.h index 558017b12..d1c4ee6ac 100644 --- a/firmware/fx2/b100/eeprom_io.h +++ b/firmware/fx2/b100/eeprom_io.h @@ -27,12 +27,12 @@ // returns non-zero if successful, else 0 unsigned char eeprom_read (unsigned char i2c_addr, unsigned char eeprom_offset, - xdata unsigned char *buf, unsigned char len); + __xdata unsigned char *buf, unsigned char len); // returns non-zero if successful, else 0 unsigned char eeprom_write (unsigned char i2c_addr, unsigned char eeprom_offset, - const xdata unsigned char *buf, unsigned char len); + const __xdata unsigned char *buf, unsigned char len); #endif /* INCLUDED_EEPROM_IO_H */ -- cgit v1.2.3