mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-12 04:07:34 +08:00
WIP: adis16477 debug
This commit is contained in:
@@ -62,6 +62,8 @@ ADIS16477::ADIS16477(const I2CSPIDriverConfig &config) :
|
||||
_bad_transfers(perf_alloc(PC_COUNT, MODULE_NAME": bad transfers")),
|
||||
_drdy_gpio(config.drdy_gpio)
|
||||
{
|
||||
_debug_enabled = true;
|
||||
|
||||
#ifdef GPIO_SPI1_RESET_ADIS16477
|
||||
// Configure hardware reset line
|
||||
px4_arch_configgpio(GPIO_SPI1_RESET_ADIS16477);
|
||||
|
||||
@@ -35,6 +35,7 @@ px4_add_module(
|
||||
MAIN adis16477
|
||||
COMPILE_FLAGS
|
||||
-Wno-cast-align # TODO: fix and enable
|
||||
-DDEBUG_BUILD
|
||||
SRCS
|
||||
ADIS16477.cpp
|
||||
adis16477_main.cpp
|
||||
|
||||
Reference in New Issue
Block a user