Merge pull request #10894 from atomgomba/feature/log-motor-pole-count

This commit is contained in:
Michael Keller 2021-08-10 16:23:24 +12:00 committed by GitHub
commit 118c2cc57c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1427,6 +1427,7 @@ static bool blackboxWriteSysinfo(void)
#endif
#ifdef USE_DSHOT_TELEMETRY
BLACKBOX_PRINT_HEADER_LINE("dshot_bidir", "%d", motorConfig()->dev.useDshotTelemetry);
BLACKBOX_PRINT_HEADER_LINE("motor_poles", "%d", motorConfig()->motorPoleCount);
#endif
#ifdef USE_RPM_FILTER
BLACKBOX_PRINT_HEADER_LINE("gyro_rpm_notch_harmonics", "%d", rpmFilterConfig()->gyro_rpm_notch_harmonics);