[Sky9x] EEPROM fixes

This commit is contained in:
bsongis
2015-04-28 20:38:05 +02:00
parent 8343e57c1c
commit 886431f396
3 changed files with 25 additions and 16 deletions
@@ -102,6 +102,10 @@ uint8_t eepromTransmitByte(uint8_t out, bool skipFirst)
register Spi *spiptr;
register uint32_t delay;
#if defined(SIMU)
return 0;
#endif
spiptr = SPI;
spiptr->SPI_CR = 1; // Enable
(void) spiptr->SPI_RDR; // Dump any rx data