mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 10:27:45 +00:00
Fixed freeze in TouchTunes scan
Made adsb_map.py compatible with Python 3
This commit is contained in:
@@ -42,11 +42,11 @@ FormattedSymbols Packet::symbols_formatted() const {
|
||||
}
|
||||
|
||||
uint32_t Packet::value() const {
|
||||
return reader_.read(3 * 8, 8);
|
||||
return (reader_.read(10 * 8, 6) << 8) | reader_.read(9 * 8, 8);
|
||||
}
|
||||
|
||||
uint32_t Packet::alt() const {
|
||||
return reader_.read(1 * 8, 12) - 0xC00;
|
||||
return reader_.read(1 * 8, 12);
|
||||
}
|
||||
|
||||
} /* namespace testapp */
|
||||
|
Reference in New Issue
Block a user