Really fix ft1000mp.c get_rit

pull/346/head
Michael Black W9MDB 2020-07-17 06:28:13 -05:00
rodzic ec24abb6c6
commit 7b3527187c
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1232,7 +1232,8 @@ int ft1000mp_get_rit(RIG *rig, vfo_t vfo, shortfreq_t *rit)
}
/* big endian integer, kinda */
f = ((p[0] && 0x7f) << 8) + p[1];
f = ((p[0] & 0x7f) << 8) + p[1];
if (p[0] & 0x80)
{
f *= -1;