Board_config.h will provide the BOARD_BATTERYx_V_DIV

Prep to distrubte the magic numbers assgined in parameters.cpp
  to the board_config.h

  common/board_common.h will define:
  1) BOARD_BATTERY[1|2]_V_DIV as 0.0f if not defined to ensure
      the missing default trips a low voltage lockdown

  2) BOARD_BATTERY[1|2]_A_PER_V as 0.0f if not defined to ensure
     the default leads to an unrealistic current value.
This commit is contained in:
David Sidrane
2017-01-21 11:45:36 +01:00
committed by Lorenz Meier
parent 1c3ebadb85
commit a8b9c906f6
3 changed files with 31 additions and 7 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
*
* @author Beat Kueng <beat-kueng@gmx.net>
*/
#include <px4_config.h>
#include <drivers/drv_rc_input.h>
#include <systemlib/param/param.h>