mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-29 19:51:29 -04:00
Added more precise function to calculate NL (based on cmath lib).
Created constants for some of the values scattered in the code.
This commit is contained in:
parent
8afd83a4e1
commit
2ceb49e4f2
4 changed files with 51 additions and 12 deletions
|
@ -83,6 +83,10 @@ const float adsb_lat_lut[58] = {
|
|||
86.53536998, 87.00000000
|
||||
};
|
||||
|
||||
const float PI = 3.14159265358979323846;
|
||||
|
||||
const float NZ = 15;
|
||||
|
||||
void make_frame_adsb(ADSBFrame& frame, const uint32_t ICAO_address);
|
||||
|
||||
void encode_frame_id(ADSBFrame& frame, const uint32_t ICAO_address, const std::string& callsign);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue