RS41-PTU: temperature

pull/3/head
Zilog80 2017-08-26 14:08:10 +02:00
rodzic c9c0359280
commit f9e6c41b2e
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -841,6 +841,7 @@ int get_GPS1() {
// ((framebyte(pos_GPS1)<<8) | framebyte(pos_GPS1+1)) != pck_GPS1 ?
if ( framebyte(pos_GPS1) != ((pck_GPS1>>8) & 0xFF) ) {
gpx.crc |= crc_GPS1;
return -1;
}
@ -958,6 +959,7 @@ int get_GPS3() {
// ((framebyte(pos_GPS3)<<8) | framebyte(pos_GPS3+1)) != pck_GPS3 ?
if ( framebyte(pos_GPS3) != ((pck_GPS3>>8) & 0xFF) ) {
gpx.crc |= crc_GPS3;
return -1;
}