AP_Baro_MS5611_test: Add block for APM2-code

This commit is contained in:
Víctor Mayoral Vilches 2014-06-04 09:27:14 +02:00 committed by Andrew Tridgell
parent bb5de8a6a1
commit de58df6371

View File

@ -23,9 +23,10 @@ void setup()
hal.scheduler->delay(1000); hal.scheduler->delay(1000);
/* What's this for? */ #if CONFIG_HAL_BOARD == HAL_BOARD_APM2
hal.gpio->pinMode(63, HAL_GPIO_OUTPUT); hal.gpio->pinMode(63, GPIO_OUTPUT);
hal.gpio->write(63, 1); hal.gpio->write(63, 1);
#endif
baro.init(); baro.init();
baro.calibrate(); baro.calibrate();