navio_adc: add driver for Navio2 ADC

Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
This commit is contained in:
Nicolae Rosia
2017-05-14 09:54:15 +03:00
committed by Lorenz Meier
parent 31006eb43c
commit 32498009a3
6 changed files with 329 additions and 1 deletions
+1 -1
View File
@@ -554,7 +554,7 @@ Sensors::task_main()
int ret = 0;
if (!_hil_enabled) {
#if !defined(__PX4_QURT) && !defined(__PX4_POSIX_RPI) && !defined(__PX4_POSIX_BEBOP)
#if !defined(__PX4_QURT) && !defined(__PX4_POSIX_BEBOP)
adc_init();
#endif
}