Force ICAO hex codes to upper-case.
The V2 ADSBX API returns lower case, so let's get ready.
This commit is contained in:
parent
3e3beb9eb4
commit
31cfd0a893
@ -86,7 +86,7 @@
|
|||||||
{:postime (numstr (e "postime"))
|
{:postime (numstr (e "postime"))
|
||||||
:lat (numstr (e "lat"))
|
:lat (numstr (e "lat"))
|
||||||
:lon (numstr (e "lon"))
|
:lon (numstr (e "lon"))
|
||||||
:icao (e "icao")
|
:icao (.toUpperCase (e "icao"))
|
||||||
:registration (nilstr (e "reg"))
|
:registration (nilstr (e "reg"))
|
||||||
;; Altitude in feet at standard pressure.
|
;; Altitude in feet at standard pressure.
|
||||||
:alt (numstr (e "alt"))
|
:alt (numstr (e "alt"))
|
||||||
|
Loading…
Reference in New Issue
Block a user