MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / create_log_only_cb_int

Method create_log_only_cb_int

OpenHD/ohd_common/src/openhd_settings_imp.cpp:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105std::function<bool(std::string id, int requested_value)>
106openhd::create_log_only_cb_int() {
107 auto cb = [](std::string id, int value) {
108 openhd::log::get_default()->debug("MAVLINK wants to change {} to {}", id,
109 value);
110 return true;
111 };
112 return cb;
113}
114
115std::function<bool(std::string id, std::string requested_value)>
116openhd::create_log_only_cb_string() {

Callers

nothing calls this directly

Calls 1

debugMethod · 0.80

Tested by

no test coverage detected