Skip to content

Commit

Permalink
cast the param to ICE source
Browse files Browse the repository at this point in the history
  • Loading branch information
Perrrewi committed Feb 5, 2025
1 parent 00375b9 commit d1155d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void InternalCombustionEngineControl::Run()

const float throttle_in = actuator_motors.control[0];

switch (_param_ice_on_source.get()) {
switch (static_cast<ICESource>(_param_ice_on_source.get())) {
case ICESource::None:
user_request = UserOnOffRequest::Off;
break;
Expand Down

0 comments on commit d1155d8

Please sign in to comment.