fix merge conflict
This commit is contained in:
+2
-4
@@ -1,7 +1,7 @@
|
||||
#include "TrackedAircraft.h"
|
||||
#include "LEDMatrix.cpp"
|
||||
#include "Network.cpp"
|
||||
#include "SBS1Decoder.cpp"
|
||||
#include "TrackedAircraft.h"
|
||||
#include <arpa/inet.h>
|
||||
#include <climits>
|
||||
#include <cmath>
|
||||
@@ -22,14 +22,13 @@ struct FlightWallOpts {
|
||||
|
||||
class FlightWall {
|
||||
private:
|
||||
FlightWallOpts opts_;
|
||||
|
||||
// hex ident, all other info
|
||||
std::unordered_map<std::string, TrackedAircraft> tracked;
|
||||
double min_distance = INT_MAX;
|
||||
std::string min_aircraft_icao;
|
||||
TrackedAircraft min_distance_aircraft;
|
||||
|
||||
FlightWallOpts opts_;
|
||||
LEDMatrix matrix_;
|
||||
|
||||
static constexpr double EARTH_RADIUS_M = 6371000.0;
|
||||
@@ -95,7 +94,6 @@ public:
|
||||
char buffer[1024];
|
||||
std::string line;
|
||||
|
||||
|
||||
while (true) {
|
||||
ssize_t bytes_rec = recv(n.get_sock(), buffer, sizeof(buffer) - 1, 0);
|
||||
if (bytes_rec < 0) {
|
||||
|
||||
Reference in New Issue
Block a user