mirror of
https://github.com/EEVengers/ThunderScope.git
synced 2025-04-08 06:25:30 +00:00
Changed FIFO_ISR Value to use uppermost byte
This commit is contained in:
parent
75d830a778
commit
61120acf30
@ -37,7 +37,7 @@ enum ThunderScopeHWStatus thunderscopehw_fifo_write(struct ThunderScopeHW* ts, u
|
||||
// write to TLR (the size of the packet)
|
||||
THUNDERSCOPEHW_RUN(write32(ts, SERIAL_FIFO_TLR_ADDRESS, (uint32_t)(bytes * 4)));
|
||||
// read ISR for a done value
|
||||
while ((thunderscopehw_read32(ts, SERIAL_FIFO_ISR_ADDRESS) & 0xff) != 8) {
|
||||
while ((thunderscopehw_read32(ts, SERIAL_FIFO_ISR_ADDRESS) >> 24) != 8) {
|
||||
#ifdef WIN32
|
||||
Sleep(1);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user