Factor out sendBeastSettings(), use it in view1090.
This commit is contained in:
parent
11b6cdba06
commit
0526388bdc
4 changed files with 24 additions and 16 deletions
|
|
@ -206,6 +206,10 @@ int main(int argc, char **argv) {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
sendBeastSettings(c, "Cd"); // Beast binary format, no filters
|
||||
sendBeastSettings(c, Modes.mode_ac ? "J" : "j"); // Mode A/C on or off
|
||||
sendBeastSettings(c, Modes.check_crc ? "f" : "F"); // CRC checks on or off
|
||||
|
||||
// Keep going till the user does something that stops us
|
||||
while (!Modes.exit) {
|
||||
icaoFilterExpire();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue