diff options
Diffstat (limited to 'firmware/fx2/common/spi.h')
-rw-r--r-- | firmware/fx2/common/spi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/fx2/common/spi.h b/firmware/fx2/common/spi.h index 12bc5e544..0ee688285 100644 --- a/firmware/fx2/common/spi.h +++ b/firmware/fx2/common/spi.h @@ -31,13 +31,13 @@ void init_spi (void); // one time call to init unsigned char spi_read (unsigned char header_hi, unsigned char header_lo, unsigned char enables, unsigned char format, - xdata unsigned char *buf, unsigned char len); + __xdata unsigned char *buf, unsigned char len); // returns non-zero if successful, else 0 unsigned char spi_write (unsigned char header_hi, unsigned char header_lo, unsigned char enables, unsigned char format, - const xdata unsigned char *buf, unsigned char len); + const __xdata unsigned char *buf, unsigned char len); #endif /* INCLUDED_SPI_H */ |