diff --git a/src/entrypoints/sx1278-serial.cpp b/src/entrypoints/sx1278-serial.cpp index ccda46ee6b3b5238714d096c8101d6ea19524c78..ae0e6f41ae36a2b43fec40d02a6cbc7232e1d1d5 100644 --- a/src/entrypoints/sx1278-serial.cpp +++ b/src/entrypoints/sx1278-serial.cpp @@ -239,11 +239,11 @@ int main() #elif defined SX1278_IS_SKYWARD433 printf("[sx1278] Confuring Skyward 433 frontend...\n"); std::unique_ptr<Boardcore::SX1278::ISX1278Frontend> frontend( - new Boardcore::Skyward433Frontend()); + new Boardcore::Skyward433Frontend()); #else printf("[sx1278] Confuring RA01 frontend...\n"); std::unique_ptr<Boardcore::SX1278::ISX1278Frontend> frontend( - new Boardcore::RA01Frontend()); + new Boardcore::RA01Frontend()); #endif #ifdef SX1278_IS_LORA @@ -280,7 +280,7 @@ int main() printf("\n[sx1278] Configuring sx1278 fsk...\n"); if ((err = sx1278->init(config)) != Boardcore::SX1278Fsk::Error::NONE) { - // FIXME: Why does clang-format put this line up here? + // FIXME: Why does clang-format put this line up here? printf("[sx1278] sx1278->init error\n"); return false; } diff --git a/src/shared/radio/SX1278/SX1278Defs.h b/src/shared/radio/SX1278/SX1278Defs.h index 088564da45d89445e2f4c0a7dbcbd93e7f3b3eda..1398b00dbc417c1864d26d9578c0ae797ad5e075 100644 --- a/src/shared/radio/SX1278/SX1278Defs.h +++ b/src/shared/radio/SX1278/SX1278Defs.h @@ -61,7 +61,6 @@ constexpr int MAX_FREQ_DEV = 0x3fff * FSTEP; constexpr int MIN_FREQ_RF = 0; constexpr int MAX_FREQ_RF = 0xffffff * FSTEP; - /** * @brief Represents a DIO.. */ diff --git a/src/shared/radio/SX1278/SX1278Frontends.h b/src/shared/radio/SX1278/SX1278Frontends.h index e766627128d9993bc465f98194db48d14549b458..41c90f858589049d12cf18312908bbe9a7b9cefc 100644 --- a/src/shared/radio/SX1278/SX1278Frontends.h +++ b/src/shared/radio/SX1278/SX1278Frontends.h @@ -38,10 +38,7 @@ public: } bool isOnPaBoost() override { return true; } - int maxInPower() override - { - return 15; - } + int maxInPower() override { return 15; } void enableRx() override { rx_enable.high(); } void disableRx() override { rx_enable.low(); } diff --git a/src/tests/radio/sx1278/sx1278-init.h b/src/tests/radio/sx1278/sx1278-init.h index f5b481017a2d2efcc6c053eca133a6f27d4b7099..f304948729a401b0045b907b2d971592d5c03742 100644 --- a/src/tests/radio/sx1278/sx1278-init.h +++ b/src/tests/radio/sx1278/sx1278-init.h @@ -208,11 +208,11 @@ bool initRadio() #elif defined SX1278_IS_SKYWARD433 printf("[sx1278] Confuring Skyward 433 frontend...\n"); std::unique_ptr<Boardcore::SX1278::ISX1278Frontend> frontend( - new Boardcore::Skyward433Frontend()); + new Boardcore::Skyward433Frontend()); #else printf("[sx1278] Confuring RA01 frontend...\n"); std::unique_ptr<Boardcore::SX1278::ISX1278Frontend> frontend( - new Boardcore::RA01Frontend()); + new Boardcore::RA01Frontend()); #endif // Initialize actual radio driver @@ -247,7 +247,7 @@ bool initRadio() printf("\n[sx1278] Configuring sx1278 fsk...\n"); if ((err = sx1278->init(config)) != Boardcore::SX1278Fsk::Error::NONE) { - // FIXME: Why does clang-format put this line up here? + // FIXME: Why does clang-format put this line up here? printf("[sx1278] sx1278->init error\n"); return false; }