You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix returning wrong values when entire scrachPad contains zeros.
When entire scratchPad contains zeros then _crc8() matches and as a
consequence isConnected() also things that everything is fine.
Finally all other methods which relies on isConnected() also returns
wrong values.
Fix detects if scrachPad contains all zeros, and in such a case
isConnected() will now return 'false'. As a result all other methods
will return status denoting that device is disconnected.
0 commit comments