diff --git a/src/hw/spi/spi_loc.h b/src/hw/spi/spi_loc.h
index 679dd21cfd71dabc88e5fa50d1d28ab1bb25e1a0..8222260e146eade8006bdb50b4df97deb3d97cd3 100644 (file)
--- a/src/hw/spi/spi_loc.h
+++ b/src/hw/spi/spi_loc.h
#define SPI_COMMAND_WRITE_ENABLE 0x06
#define SPI_COMMAND_ERASE_SECTOR 0x20
#define SPI_COMMAND_WRITE_ENABLE 0x06
#define SPI_COMMAND_ERASE_SECTOR 0x20
-SINT16 hw_spi_xfer (UINT16 nbytes, UINT8 *dataOut, UINT8 *dataIn, spiConfig_t *cfg, BOOL terminate);
+SINT16 hw_spi_xfer (UINT32 nbytes, UINT8 *dataOut, UINT8 *dataIn, spiConfig_t *cfg, BOOL terminate);
#endif /* _SPI_LOC_H */
#endif /* _SPI_LOC_H */