| 103 | } |
| 104 | |
| 105 | std::function<bool(std::string id, int requested_value)> |
| 106 | openhd::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 | |
| 115 | std::function<bool(std::string id, std::string requested_value)> |
| 116 | openhd::create_log_only_cb_string() { |