mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 17:47:10 -06:00
* Initial logging refactor - WIP * Removing LogAssert as it is not used * Working on Fw::Logger rewrite * Initial Os::Console refactor * Fixing Fw::Logger unit tests * Fixing up UT build * Adding Os::Stub::Console implementation * Added interface UTs * Adding posix console tests * Fixing Linux errors * Spelling * Initial review requests * Fixing RPI build issues * Fixing codeql errors * Fixing code QL * Validating 'message' parameter
28 lines
835 B
C++
28 lines
835 B
C++
// ======================================================================
|
|
// \title FatalHandlerImpl.cpp
|
|
// \author tcanham
|
|
// \brief cpp file for FatalHandler component implementation class
|
|
//
|
|
// \copyright
|
|
// Copyright 2009-2015, by the California Institute of Technology.
|
|
// ALL RIGHTS RESERVED. United States Government Sponsorship
|
|
// acknowledged.
|
|
//
|
|
// ======================================================================
|
|
|
|
#include <Svc/FatalHandler/FatalHandlerComponentImpl.hpp>
|
|
#include <FpConfig.hpp>
|
|
#include <taskLib.h>
|
|
#include <Fw/Logger/Logger.hpp>
|
|
|
|
namespace Svc {
|
|
|
|
void FatalHandlerComponentImpl::FatalReceive_handler(
|
|
const NATIVE_INT_TYPE portNum,
|
|
FwEventIdType Id) {
|
|
Fw::Logger::log("FATAL %d handled.\n",Id,0,0,0,0,0);
|
|
taskSuspend(0);
|
|
}
|
|
|
|
} // end namespace Svc
|