SITL Moved magic numbers for battery V div and A per V to px4_config.h

This commit is contained in:
David Sidrane
2017-01-21 11:45:36 +01:00
committed by Lorenz Meier
parent a8b9c906f6
commit 99902807c9
2 changed files with 3 additions and 4 deletions
+3
View File
@@ -54,6 +54,9 @@
#define CONFIG_SCHED_LPWORK 1
#define CONFIG_ARCH_BOARD_SITL 1
#define BOARD_BATTERY1_V_DIV (10.177939394f)
#define BOARD_BATTERY1_A_PER_V (15.391030303f)
/** time in ms between checks for work in work queues **/
#define CONFIG_SCHED_WORKPERIOD 50000