AP_HAL_Linux: Add VOLTAGE_SCALING for BeagleBone Blue

This commit is contained in:
mirkix 2017-12-16 19:59:09 +01:00 committed by Grant Morphett
parent 0b78817b81
commit eecd8fcfa6

View File

@ -14,6 +14,8 @@
#define IIO_VOLTAGE_SCALING 0.00142602816
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BBBMINI
#define IIO_VOLTAGE_SCALING 3.0*1.8/4095.0
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE
#define IIO_VOLTAGE_SCALING 3.0*1.8/4095.0
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_MINLURE
#define IIO_VOLTAGE_SCALING 2.0 / 1000
#else