Browse Source

px4io: Do not forward excessively low battery voltages

sbg
Lorenz Meier 11 years ago
parent
commit
cdfbe9bcc4
  1. 2
      src/drivers/px4io/px4io.cpp

2
src/drivers/px4io/px4io.cpp

@ -1383,7 +1383,7 @@ void @@ -1383,7 +1383,7 @@ void
PX4IO::io_handle_battery(uint16_t vbatt, uint16_t ibatt)
{
/* only publish if battery has a valid minimum voltage */
if (vbatt <= 3300) {
if (vbatt <= 4900) {
return;
}

Loading…
Cancel
Save