From e8735c405ee65491640b0a8323bba96bac1fa772 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Sun, 28 Apr 2019 12:54:16 +1200 Subject: [PATCH] Merge pull request #8089 from Cleric-K/cms-debug-fix CMS Debug Mode fix --- src/main/blackbox/blackbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/blackbox/blackbox.c b/src/main/blackbox/blackbox.c index 3f0678f115..fb505e0db9 100644 --- a/src/main/blackbox/blackbox.c +++ b/src/main/blackbox/blackbox.c @@ -1369,7 +1369,7 @@ static bool blackboxWriteSysinfo(void) BLACKBOX_PRINT_HEADER_LINE("motor_pwm_protocol", "%d", motorConfig()->dev.motorPwmProtocol); BLACKBOX_PRINT_HEADER_LINE("motor_pwm_rate", "%d", motorConfig()->dev.motorPwmRate); BLACKBOX_PRINT_HEADER_LINE("dshot_idle_value", "%d", motorConfig()->digitalIdleOffsetValue); - BLACKBOX_PRINT_HEADER_LINE("debug_mode", "%d", systemConfig()->debug_mode); + BLACKBOX_PRINT_HEADER_LINE("debug_mode", "%d", debugMode); BLACKBOX_PRINT_HEADER_LINE("features", "%d", featureConfig()->enabledFeatures); #ifdef USE_RC_SMOOTHING_FILTER