mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 13:00:36 +08:00
l3gd20: fixed a warning
This commit is contained in:
committed by
Lorenz Meier
parent
1a1570d902
commit
17502cbde4
@@ -816,7 +816,7 @@ L3GD20::measure()
|
||||
transfer((uint8_t *)&raw_report, (uint8_t *)&raw_report, sizeof(raw_report));
|
||||
|
||||
#ifdef GPIO_EXTI_GYRO_DRDY
|
||||
if (raw_report.status & 0xF != 0xF) {
|
||||
if ((raw_report.status & 0xF) != 0xF) {
|
||||
/*
|
||||
we waited for DRDY, but did not see DRDY on all axes
|
||||
when we captured. That means a transfer error of some sort
|
||||
|
||||
Reference in New Issue
Block a user