mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 16:29:04 -06:00
* Refactored type organization * Creating better configuration/types header hierarchy * Replace FpConfig type aliases with FPP generated aliases * Add the aliases to the FPP model * Config + Type Aliases builds * Renamed Fw/Types.h,hpp to Fw/FPrimeBasicTypes.h,hpp * Updating to FPP-a7 * Adding newline * sp * Fixing minor nit from review * Spurious ; --------- Co-authored-by: Andrei Tumbar <andrei.tumbar@jpl.nasa.gov>
28 lines
842 B
C++
28 lines
842 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 <Fw/FPrimeBasicTypes.hpp>
|
|
#include <taskLib.h>
|
|
#include <Fw/Logger/Logger.hpp>
|
|
|
|
namespace Svc {
|
|
|
|
void FatalHandlerComponentImpl::FatalReceive_handler(
|
|
const FwIndexType portNum,
|
|
FwEventIdType Id) {
|
|
Fw::Logger::log("FATAL %d handled.\n",Id,0,0,0,0,0);
|
|
taskSuspend(0);
|
|
}
|
|
|
|
} // end namespace Svc
|