Force ICAO hex codes to upper-case.

The V2 ADSBX API returns lower case, so let's get ready.
This commit is contained in:
John Wiseman 2020-08-02 16:21:09 -07:00
parent 3e3beb9eb4
commit 31cfd0a893

View File

@ -86,7 +86,7 @@
{:postime (numstr (e "postime"))
:lat (numstr (e "lat"))
:lon (numstr (e "lon"))
:icao (e "icao")
:icao (.toUpperCase (e "icao"))
:registration (nilstr (e "reg"))
;; Altitude in feet at standard pressure.
:alt (numstr (e "alt"))