actually a useful event printout

This commit is contained in:
Robin Müller 2023-08-31 17:12:23 +02:00
parent 3c6102fb97
commit ec0c0a1cdd
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F

View File

@ -206,9 +206,9 @@ void EventManager::printUtility(sif::OutputTypes printType, EventMessage* messag
sif::printDebug("Event Manager: Reporter ID 0x%08x reported event with ID %d\n",
message->getReporter(), message->getEventId());
}
sif::printDebug("P1 Hex: 0x%x | P1 Dec: %d | P2 Hex: 0x%x | P2 Dec: %d\n",
message->getParameter1(), message->getParameter1(), message->getParameter2(),
message->getParameter2());
sif::printDebug("%s | P1 Hex: 0x%x | P1 Dec: %d | P2 Hex: 0x%x | P2 Dec: %d\n",
translateEvents(message->getEvent()), message->getParameter1(),
message->getParameter1(), message->getParameter2(), message->getParameter2());
#endif /* FSFW_CPP_OSTREAM_ENABLED == 0 */
}
}