diff --git a/src/boards/Parafoil/Configs/WingConfig.h b/src/boards/Parafoil/Configs/WingConfig.h index 055e2291378203164e18d494e89cdb28bfb3f3bd..3d3a31e6c51c89d2eb495466590b0588d6542c19 100644 --- a/src/boards/Parafoil/Configs/WingConfig.h +++ b/src/boards/Parafoil/Configs/WingConfig.h @@ -36,7 +36,7 @@ namespace WingConfig #if defined(CLOSED_LOOP) constexpr int SELECTED_ALGORITHM = 0; #elif EARLY_MANEUVER -constexpr int SELECTED_ALGORITHM = 1; +constexpr int SELECTED_ALGORITHM = 1; #elif SEQUENCE constexpr int SELECTED_ALGORITHM = 2; #elif ROTATION diff --git a/src/boards/Parafoil/Radio/Radio.cpp b/src/boards/Parafoil/Radio/Radio.cpp index f545c66fe7d7f8dd608c02bc45851edc1d1cee79..260ababf915edf8a65ad5a9a73d0658469d13905 100644 --- a/src/boards/Parafoil/Radio/Radio.cpp +++ b/src/boards/Parafoil/Radio/Radio.cpp @@ -96,7 +96,8 @@ bool Radio::start() // Config mavDriver mavDriver = new MavDriver( - transceiver, [=](MavDriver*, const mavlink_message_t& msg) + transceiver, + [=](MavDriver*, const mavlink_message_t& msg) { this->handleMavlinkMessage(msg); }, RadioConfig::RADIO_SLEEP_AFTER_SEND, RadioConfig::RADIO_OUT_BUFFER_MAX_AGE);