px4io: Do not forward excessively low battery voltages

This commit is contained in:
Lorenz Meier 2014-07-12 23:30:34 +02:00
parent 1ecd52494c
commit cdfbe9bcc4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}