From 3b475acae26b309d6c4c10361ca81f74719bf93f Mon Sep 17 00:00:00 2001 From: Michal Fratczak Date: Fri, 11 Jan 2019 17:34:22 +0100 Subject: [PATCH] websocketServer: fix flights JSON parse from HABHUB --- code/habitat/habitat_list_flights.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/habitat/habitat_list_flights.cpp b/code/habitat/habitat_list_flights.cpp index c22095d..cb2956b 100644 --- a/code/habitat/habitat_list_flights.cpp +++ b/code/habitat/habitat_list_flights.cpp @@ -93,9 +93,9 @@ std::map ParseFlightsJson(const std else continue; - _p.baud_ = t.second.get("baud"); - _p.ascii_stops_ = t.second.get("stop"); - _p.frequency_ = t.second.get("frequency"); + _p.baud_ = t.second.get("baud"); + _p.ascii_stops_ = t.second.get("stop"); + _p.frequency_ = t.second.get("frequency"); break; // use first of RTTY transmissions }