Skip to content

Commit

Permalink
OperationMode did non emit change for property. Updated decleration
Browse files Browse the repository at this point in the history
  • Loading branch information
Ómar Högni Guðmarsson committed Jun 12, 2024
1 parent ba5d1a2 commit e73f934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exes/operations/inc/details/app_operation_mode_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ app_operation_mode<signal_t, slot_t>::app_operation_mode(boost::asio::io_context
set_mode(operation::mode_e::stopped);
});
dbus_interface_->register_property_r<operation::mode_e>(
std::string{ operation::dbus::property::mode }, sdbusplus::vtable::property_::emits_change,
std::string{ operation::dbus::property::mode }, sdbusplus::vtable::property_::explicit_,
[this]([[maybe_unused]] operation::mode_e const& value) -> operation::mode_e { // getter
return mode_;
});
Expand Down

0 comments on commit e73f934

Please sign in to comment.