clang-format
All checks were successful
fsfw/fsfw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2022-05-20 11:09:03 +02:00
parent dac700b80a
commit 8e2597f609
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -86,8 +86,8 @@ ReturnValue_t Service5EventReporting::handleRequest(uint8_t subservice) {
// In addition to the default PUSServiceBase initialization, this service needs
// to be registered to the event manager to listen for events.
ReturnValue_t Service5EventReporting::initialize() {
EventManagerIF* manager = ObjectManager::instance()->get<EventManagerIF>(objects::EVENT_MANAGER);
if (manager == NULL) {
auto* manager = ObjectManager::instance()->get<EventManagerIF>(objects::EVENT_MANAGER);
if (manager == nullptr) {
return RETURN_FAILED;
}
// register Service 5 as listener for events