缩减代码

This commit is contained in:
2026-08-09 22:00:30 +08:00
parent 11e7affc75
commit 256c41fa9c
28 changed files with 157 additions and 1024 deletions
@@ -13,10 +13,6 @@ std::optional<SSR::Position_3D> Base_Station::get_pos() {
}
return SSR::Position_3D{hulc.get_latitude(), hulc.get_longitude(), static_cast<SSR::CPR::D>(hulc.Alt)};
}
double Base_Station::get_height() {
std::lock_guard g(mtx);
return hulc.Alt;
}
bool Base_Station::has_valid_position() {
std::lock_guard g(mtx);
return hulc.GPS_has_valid_fix();