Skip to content

Commit c55b0d7

Browse files
authored
add motor_poles to BBL header (#932)
* add motor_poles to BBL header
1 parent 41cfd39 commit c55b0d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/blackbox/blackbox.c

+1
Original file line numberDiff line numberDiff line change
@@ -1267,6 +1267,7 @@ static bool blackboxWriteSysinfo(void) {
12671267
BLACKBOX_PRINT_HEADER_LINE("motor_pwm_protocol", "%d", motorConfig()->dev.motorPwmProtocol);
12681268
BLACKBOX_PRINT_HEADER_LINE("motor_pwm_rate", "%d", motorConfig()->dev.motorPwmRate);
12691269
BLACKBOX_PRINT_HEADER_LINE("dshot_idle_value", "%d", motorConfig()->digitalIdleOffsetValue);
1270+
BLACKBOX_PRINT_HEADER_LINE("motor_poles", "%d", motorConfig()->motorPoleCount);
12701271
BLACKBOX_PRINT_HEADER_LINE("debug_mode", "%d", systemConfig()->debug_mode);
12711272
BLACKBOX_PRINT_HEADER_LINE("features", "%d", featureConfig()->enabledFeatures);
12721273
#ifdef USE_RC_SMOOTHING_FILTER

0 commit comments

Comments
 (0)