File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name =SerialTransfer
2- version =3.1.4
2+ version =3.1.5
33author =PowerBroker2 <gitstuff2@gmail.com>
44maintainer =PowerBroker2 <gitstuff2@gmail.com>
55sentence =Arduino library to transfer packetized data fast/reliably via UART/Serial
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ void I2CTransfer::processData()
102102
103103 if (classToUse->status != CONTINUE)
104104 {
105- if (classToUse->status < 0 )
105+ if (classToUse->status <= 0 )
106106 classToUse->reset ();
107107
108108 break ;
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ uint8_t SerialTransfer::available()
102102
103103 if (status != CONTINUE)
104104 {
105- if (status < 0 )
105+ if (status <= 0 )
106106 reset ();
107107
108108 break ;
@@ -114,7 +114,7 @@ uint8_t SerialTransfer::available()
114114 bytesRead = packet.parse (recChar, valid);
115115 status = packet.status ;
116116
117- if (status < 0 )
117+ if (status <= 0 )
118118 reset ();
119119 }
120120
You can’t perform that action at this time.
0 commit comments