Commit b5920a35 authored by Lorenz Meier's avatar Lorenz Meier

Speed up battery lowpass

parent de38e49b
...@@ -2000,7 +2000,7 @@ void UAS::sendMessage(LinkInterface* link, mavlink_message_t message) ...@@ -2000,7 +2000,7 @@ void UAS::sendMessage(LinkInterface* link, mavlink_message_t message)
*/ */
float UAS::filterVoltage(float value) const float UAS::filterVoltage(float value) const
{ {
return lpVoltage * 0.7f + value * 0.3f; return lpVoltage * 0.6f + value * 0.4f;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment