mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-16 13:42:16 -04:00
Fixed freeze in TouchTunes scan
Made adsb_map.py compatible with Python 3
This commit is contained in:
parent
d517bc31ec
commit
196518457f
8 changed files with 80 additions and 37 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue