Skip to content

Commit

Permalink
Mavlink: Set the low level of SEVERITY to speak
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored and meee1 committed Nov 15, 2022
1 parent cc0d11f commit 18855ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExtLibs/ArduPilot/Mavlink/MAVLinkInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5215,7 +5215,7 @@ public async Task<MAVLinkMessage> readPacketAsync()
if (MAVlist[sysid, compidcurrent].cs.version.Major > 0 ||
MAVlist[sysid, compidcurrent].cs.version.Minor >= 4)
{
if (sev <= (byte)MAV_SEVERITY.WARNING)
if (sev <= (byte)Settings.Instance.GetInt32("severity", 4))
{
printit = true;
mavsev = (MAV_SEVERITY)sev;
Expand Down

0 comments on commit 18855ba

Please sign in to comment.