Closed KHeintz closed 2 years ago
Found a small bug in Xbus.cpp. Airspeed should look like this, speed written in lower case and a semicolon was missing at the end.
#if CONFIG_AIRSPEED static uint16_t maxAirspeed = 0; airspeed.update(); uint16_t airSpeed = round(*airspeed.valueP()); xbusAirspeed.airspeed = __builtin_bswap16(airSpeed); if (airSpeed > maxAirspeed) { maxAirspeed = airSpeed; xbusAirspeed.maxAirspeed = __builtin_bswap16(airSpeed); }
Thanks. Fixed
Found a small bug in Xbus.cpp. Airspeed should look like this, speed written in lower case and a semicolon was missing at the end.