| 40 | } |
| 41 | |
| 42 | OHDProfile DProfile::discover(bool is_air) { |
| 43 | openhd::log::get_default()->debug("Profile:[{}]", is_air ? "AIR" : "GND"); |
| 44 | // We read the unit id from the persistent storage, later write it to the tmp |
| 45 | // storage json |
| 46 | const auto unit_id = openhd::getOrCreateUnitId(); |
| 47 | return OHDProfile(is_air, unit_id); |
| 48 | } |
nothing calls this directly
no test coverage detected