mirror of
https://github.com/dougg3/mac-rom-simm-programmer.git
synced 2024-11-25 10:30:49 +00:00
82df6ea459
I noticed that after I implemented the SPI optimization of cycle counting instead of polling on SPIF, the first "normal" SPI transaction I tried would fail. This is because nothing was clearing the SPIF flag anymore, and the normal SPI driver still looks at it. So it was thinking that the latest transaction was already completed (it wasn't). Worked around this by making sure we clear the flag in SPI_Assert. I'm not concerned about performance impact here because the actual clean SPI driver is not used in performance-bound situations. Fixed an issue that identified the wrong pins as shorted to ground in the electrical test functionality. Whoops! |
||
---|---|---|
.. | ||
at90usb646 | ||
board.h | ||
gpio.h | ||
parallel_bus.h | ||
spi.h | ||
usbcdc.h |