fprime/Svc/FramingProtocol/DeframingProtocol.cpp
Thomas Boyer-Chammard c69ff72110
Format Svc and add to CI (#3978)
* Format Svc and add to CI

* Fix comlogger include

* fix assert UTs

* Fix static analysis warning

* formatting
2025-08-04 16:21:47 -07:00

25 lines
736 B
C++

// ======================================================================
// \title DeframingProtocol.cpp
// \author mstarch
// \brief cpp file for DeframingProtocol class
//
// \copyright
// Copyright 2009-2021, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ======================================================================
#include "DeframingProtocol.hpp"
#include "DeframingProtocolInterface.hpp"
namespace Svc {
DeframingProtocol::DeframingProtocol() : m_interface(nullptr) {}
void DeframingProtocol::setup(DeframingProtocolInterface& interface) {
FW_ASSERT(m_interface == nullptr);
m_interface = &interface;
}
} // namespace Svc