Skip to content

Commit

Permalink
Various improvements
Browse files Browse the repository at this point in the history
Signed-off-by: AssemblyJohn <[email protected]>
  • Loading branch information
AssemblyJohn committed Aug 8, 2024
1 parent 23ef4b2 commit f7ace37
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/ocpp/v201/monitoring_updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,10 +444,7 @@ void MonitoringUpdater::process_monitor_meta_internal(UpdaterMonitorMeta& update
// Generate one event that will either be sent now, or later based on the offline state
updater_meta_data.generated_monitor_events.push_back(std::move(notify_event));
}
}

// Process if it is a periodic trigger
if (updater_meta_data.type == UpdateMonitorMetaType::TRIGGER) {
} else if (updater_meta_data.type == UpdateMonitorMetaType::TRIGGER) {
// If we did not generate an event for this trigger, create the notify event
if (updater_meta_data.meta_trigger.is_event_generated == 0) {
// Until next state change, mark this event as generated
Expand Down

0 comments on commit f7ace37

Please sign in to comment.