1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Fix debug mode DEBUG_ATTITUDE (#13570)

Fix channel 0
This commit is contained in:
Jan Post 2024-04-22 18:53:11 +02:00 committed by GitHub
parent f4d6a2ce43
commit 951ba1d42f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -744,8 +744,8 @@ void imuUpdateAttitude(timeUs_t currentTimeUs)
schedulerIgnoreTaskStateTime(); schedulerIgnoreTaskStateTime();
} }
DEBUG_SET(DEBUG_ATTITUDE, 0, attitude.values.yaw); // roll DEBUG_SET(DEBUG_ATTITUDE, 0, attitude.values.roll);
DEBUG_SET(DEBUG_ATTITUDE, 1, attitude.values.pitch); // pitch DEBUG_SET(DEBUG_ATTITUDE, 1, attitude.values.pitch);
} }
#endif // USE_ACC #endif // USE_ACC