fprime/Svc/FatalHandler/FatalHandlerComponentBaremetalImpl.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
888 B
C++

// ======================================================================
// \title FatalHandlerImpl.cpp
// \author lestarch
// \brief cpp file for FatalHandler component implementation class
// ======================================================================
#include <Fw/FPrimeBasicTypes.hpp>
#include <Fw/Logger/Logger.hpp>
#include <Svc/FatalHandler/FatalHandlerComponentImpl.hpp>
#include <cstdlib>
namespace Svc {
// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
void FatalHandlerComponentImpl::FatalReceive_handler(const FwIndexType portNum, FwEventIdType Id) {
Fw::Logger::log("FATAL %" PRI_FwEventIdType "handled.\n", Id);
while (true) {
} // Returning might be bad
}
} // end namespace Svc