fprime/Svc/FramingProtocol/FramingProtocol.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
720 B
C++

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