diff --git a/bsp_q7s/objectFactory.cpp b/bsp_q7s/objectFactory.cpp index d0c0f924..eadf70c6 100644 --- a/bsp_q7s/objectFactory.cpp +++ b/bsp_q7s/objectFactory.cpp @@ -643,12 +643,12 @@ void ObjectFactory::createPayloadComponents(LinuxLibgpioIF* gpioComIF, PowerSwit supvGpioCookie->addGpio(gpioIds::ENABLE_SUPV_UART, gpioConfigSupv); gpioComIF->addGpios(supvGpioCookie); const char* plocSupvDev = q7s::UART_PLOC_SUPERVISOR_DEV; - if(not std::filesystem::exists(plocSupvDev)) { + if (not std::filesystem::exists(plocSupvDev)) { plocSupvDev = q7s::UART_PLOC_SUPERVISOR_DEV_FALLBACK; } - auto supervisorCookie = new SerialCookie(objects::PLOC_SUPERVISOR_HANDLER, - plocSupvDev, serial::PLOC_SUPV_BAUD, - supv::MAX_PACKET_SIZE * 20, UartModes::NON_CANONICAL); + auto supervisorCookie = + new SerialCookie(objects::PLOC_SUPERVISOR_HANDLER, plocSupvDev, serial::PLOC_SUPV_BAUD, + supv::MAX_PACKET_SIZE * 20, UartModes::NON_CANONICAL); supervisorCookie->setNoFixedSizeReply(); auto supvHelper = new PlocSupvUartManager(objects::PLOC_SUPERVISOR_HELPER); auto* supvHandler = new PlocSupervisorHandler(objects::PLOC_SUPERVISOR_HANDLER, supervisorCookie, diff --git a/linux/ipcore/PdecHandler.cpp b/linux/ipcore/PdecHandler.cpp index 28598aa8..fd952855 100644 --- a/linux/ipcore/PdecHandler.cpp +++ b/linux/ipcore/PdecHandler.cpp @@ -468,9 +468,7 @@ bool PdecHandler::newTcReceived() { return true; } -void PdecHandler::doPeriodicWork() { - checkLocks(); -} +void PdecHandler::doPeriodicWork() { checkLocks(); } bool PdecHandler::checkFrameAna(uint32_t pdecFar) { bool frameValid = false;