mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-13 12:31:35 +08:00
- system_power portion of drivers/adc split into a new standalone module (drivers/system_power) - additional availability flags added to system_power.msg so we know what boards even support (previously certain flags were faked if not available) - drivers/system_power scheduled at minimum rate by default, but now also scheduled immediately on any relevant GPIO events - now instead of running at 100 Hz with heavily reduced logging we can run at a minimal rate, log at full rate, and catch relevant changes immediately
20 lines
357 B
Bash
20 lines
357 B
Bash
#!/bin/sh
|
|
#
|
|
# mRo x21 specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
board_adc start
|
|
system_power start
|
|
|
|
# Internal SPI bus ICM-20608-G
|
|
icm20608g -s -R 8 start
|
|
|
|
# Internal SPI bus ICM-20602
|
|
icm20602 -s -R 8 start
|
|
|
|
# Internal SPI bus mpu9250
|
|
mpu9250 -s -R 8 start
|
|
|
|
# Internal SPI
|
|
ms5611 -s start
|