Update README.md

This commit is contained in:
Verkehrsrot 2018-06-10 16:55:21 +02:00 committed by GitHub
parent 85d3e31cd3
commit 6b4effde7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@ function Decoder(bytes, port) {
decoded.ble = (bytes[2] << 8) | bytes[3];
decoded.latitude = ((bytes[7] << 24) | (bytes[6] << 16) | (bytes[5] << 8) | bytes[4]);
decoded.longitude = ((bytes[11] << 24) | (bytes[10] << 16) | (bytes[9] << 8) | bytes[8]);
decoded.satellites = (bytes[13] << 8) | bytes[12];
decoded.sats = (bytes[13] << 8) | bytes[12];
decoded.hdop = (bytes[15] << 8) | bytes[14];
decoded.altitude = (bytes[17] << 8) | bytes[16];
}