Explorar o código

Fix setting syncperiod

Eric Helgeson %!s(int64=4) %!d(string=hai) anos
pai
achega
7c4a1b3c9f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/BlueSCSI.cpp

+ 1 - 1
src/BlueSCSI.cpp

@@ -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];