Forcing UI SPI transfers to be synchronous
@@ -185,7 +185,11 @@ void InternalSendBytes(CLR_UINT8 *data, CLR_UINT32 length, bool sendAsync)
SPI_WRITE_READ_SETTINGS wrc;
wrc.Bits16ReadWrite = false;
- wrc.callback = sendAsync ? spi_callback : 0;
+
+ // setting this to 0 forces the transfer to be synchronous
+ // reverting to this for the time being until a definitive solution is found
+ wrc.callback = 0;
+
wrc.fullDuplex = false;
wrc.readOffset = 0;
