AP_Baro.cpp: support DPS280 on SPI

This commit is contained in:
Phillip Kocmoud 2019-05-08 21:55:52 -05:00 committed by Andrew Tridgell
parent aee7740ae9
commit 3011bc1930

View File

@ -126,6 +126,7 @@ bool AP_Baro_DPS280::init()
return false; return false;
} }
dev->set_read_flag(0x80);
dev->set_speed(AP_HAL::Device::SPEED_HIGH); dev->set_speed(AP_HAL::Device::SPEED_HIGH);
uint8_t whoami=0; uint8_t whoami=0;