Tweak configs for CF2

Fix build error

Capitalization mistake for headers

Non-Mac compiler issue

Baudrate for crazyflie nrf and fix code style

Save space

Cleanup mpu9250 driver
This commit is contained in:
Dennis Shtatnov
2016-09-04 19:12:08 +02:00
committed by Lorenz Meier
parent 5100785f51
commit e6b98b2ab8
16 changed files with 172 additions and 381 deletions
+2 -1
View File
@@ -830,7 +830,7 @@ LPS25H::collect()
} else {
_baro_topic = orb_advertise_multi(ORB_ID(sensor_baro), &new_report,
&_orb_class_instance, (sensor_is_onboard) ? ORB_PRIO_HIGH : ORB_PRIO_MAX);
&_orb_class_instance, (sensor_is_onboard) ? ORB_PRIO_HIGH : ORB_PRIO_MAX);
if (_baro_topic == nullptr) {
DEVICE_DEBUG("ADVERT FAIL");
@@ -1306,6 +1306,7 @@ lps25h_main(int argc, char *argv[])
while ((ch = getopt(argc, argv, "XIS:CT")) != EOF) {
switch (ch) {
#if (PX4_I2C_BUS_ONBOARD || PX4_SPIDEV_HMC)
case 'I':
busid = LPS25H_BUS_I2C_INTERNAL;
break;