diff --git a/README.md b/README.md index 3cef8e58..d07d06bb 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ function Decoder(bytes, port) { if (bytes.length > 4) { decoded.latitude = ( (bytes[i++] << 24) | (bytes[i++] << 16) | (bytes[i++] << 8) | bytes[i++] ); decoded.longitude = ( (bytes[i++] << 24) | (bytes[i++] << 16) | (bytes[i++] << 8) | bytes[i++] ); - decoded.sats = ( bytes[i++] ); + decoded.sats = ( bytes[i++] ); decoded.hdop = ( bytes[i++] << 8) | (bytes[i++] ); decoded.altitude = ( bytes[i++] << 8) | (bytes[i++] ); }