From 951ba1d42fcef4389b784507ad8bd625ff59de28 Mon Sep 17 00:00:00 2001 From: Jan Post Date: Mon, 22 Apr 2024 18:53:11 +0200 Subject: [PATCH] Fix debug mode DEBUG_ATTITUDE (#13570) Fix channel 0 --- src/main/flight/imu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/flight/imu.c b/src/main/flight/imu.c index 644c178188..8f4e41d72b 100644 --- a/src/main/flight/imu.c +++ b/src/main/flight/imu.c @@ -744,8 +744,8 @@ void imuUpdateAttitude(timeUs_t currentTimeUs) schedulerIgnoreTaskStateTime(); } - DEBUG_SET(DEBUG_ATTITUDE, 0, attitude.values.yaw); // roll - DEBUG_SET(DEBUG_ATTITUDE, 1, attitude.values.pitch); // pitch + DEBUG_SET(DEBUG_ATTITUDE, 0, attitude.values.roll); + DEBUG_SET(DEBUG_ATTITUDE, 1, attitude.values.pitch); } #endif // USE_ACC