Fix setting syncperiod

This commit is contained in:
Eric Helgeson 2021-04-16 11:08:47 -05:00
parent ec22ecd777
commit 7c4a1b3c9f

View File

@ -1207,7 +1207,7 @@ void loop()
// Transfer period factor(50 x 4 = Limited to 200ns)
syncperiod = m_msb[i + 3];
if (syncperiod > 50) {
syncoffset = 50;
syncperiod = 50;
}
// REQ/ACK offset(Limited to 16)
syncoffset = m_msb[i + 4];