AP_Baro_MS5611_test: Add block for APM2-code
This commit is contained in:
parent
bb5de8a6a1
commit
de58df6371
@ -23,9 +23,10 @@ void setup()
|
||||
|
||||
hal.scheduler->delay(1000);
|
||||
|
||||
/* What's this for? */
|
||||
hal.gpio->pinMode(63, HAL_GPIO_OUTPUT);
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_APM2
|
||||
hal.gpio->pinMode(63, GPIO_OUTPUT);
|
||||
hal.gpio->write(63, 1);
|
||||
#endif
|
||||
|
||||
baro.init();
|
||||
baro.calibrate();
|
||||
|
Loading…
Reference in New Issue
Block a user