mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Disable L3GD20 debug output.
This commit is contained in:
parent
4be9d953ac
commit
9f39cad2f9
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ static void l3gd20GyroRead(int16_t *gyroData)
|
||||||
gyroData[1] = (int16_t)((buf[2] << 8) | buf[3]) / 8;
|
gyroData[1] = (int16_t)((buf[2] << 8) | buf[3]) / 8;
|
||||||
gyroData[2] = (int16_t)((buf[4] << 8) | buf[5]) / 8;
|
gyroData[2] = (int16_t)((buf[4] << 8) | buf[5]) / 8;
|
||||||
|
|
||||||
#if 1
|
#if 0
|
||||||
debug[0] = (int16_t)((buf[1] << 8) | buf[0]);
|
debug[0] = (int16_t)((buf[1] << 8) | buf[0]);
|
||||||
debug[1] = (int16_t)((buf[3] << 8) | buf[2]);
|
debug[1] = (int16_t)((buf[3] << 8) | buf[2]);
|
||||||
debug[2] = (int16_t)((buf[5] << 8) | buf[4]);
|
debug[2] = (int16_t)((buf[5] << 8) | buf[4]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue