diff --git a/app/telemetry/models/fcmavlinksystem.cpp b/app/telemetry/models/fcmavlinksystem.cpp index 781e675a3..134768b78 100644 --- a/app/telemetry/models/fcmavlinksystem.cpp +++ b/app/telemetry/models/fcmavlinksystem.cpp @@ -494,7 +494,7 @@ std::optional FCMavlinkSystem::get_fc_sys_id() bool FCMavlinkSystem::set_system_id(int sys_id) { - if(sys_id<=0 || sys_id >= UINT8_MAX){ + if(sys_id<0 || sys_id >= UINT8_MAX){ qWarning()<<"Invalid sys id"; return false; }