diff --git a/examples/seeder_example/vt_application.cpp b/examples/seeder_example/vt_application.cpp index 8eed1a20..946763fc 100644 --- a/examples/seeder_example/vt_application.cpp +++ b/examples/seeder_example/vt_application.cpp @@ -278,28 +278,19 @@ void SeederVtApplication::handle_numeric_value_events(const isobus::VirtualTermi } } -void SeederVtApplication::handle_machine_selected_speed(const std::shared_ptr mssData, bool changed) +void SeederVtApplication::handle_machine_selected_speed(const std::shared_ptr mssData, bool) { - if (changed) - { - process_new_speed(SpeedSources::MachineSelected, mssData->get_machine_speed()); - } + process_new_speed(SpeedSources::MachineSelected, mssData->get_machine_speed()); } -void SeederVtApplication::handle_ground_based_speed(const std::shared_ptr gbsData, bool changed) +void SeederVtApplication::handle_ground_based_speed(const std::shared_ptr gbsData, bool) { - if (changed) - { - process_new_speed(SpeedSources::GroundBased, gbsData->get_machine_speed()); - } + process_new_speed(SpeedSources::GroundBased, gbsData->get_machine_speed()); } -void SeederVtApplication::handle_wheel_based_speed(const std::shared_ptr wbsData, bool changed) +void SeederVtApplication::handle_wheel_based_speed(const std::shared_ptr wbsData, bool) { - if (changed) - { - process_new_speed(SpeedSources::WheelBased, wbsData->get_machine_speed()); - } + process_new_speed(SpeedSources::WheelBased, wbsData->get_machine_speed()); } void SeederVtApplication::process_new_speed(SpeedSources source, std::uint32_t speed)