-
-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new DSHOT debug modes #4144
base: master
Are you sure you want to change the base?
Conversation
Added checkbox to activate edt Restore other translation files than the english one Added logic to handle DSHOT edt checkbox in motors tab. Bumped API_VERSION to 1.46. Added dshot_edt setting to MSP_MOTOR_CONFIG frame. Added dshot_edt setting to MSP_SET_MOTOR_CONFIG frame. Updated API_VERSION in generate_filename. Fixed features in motors tab. Added exclusive selection between ESC_SENSOR and EDT options. Fixed a bug Fixed review findings Removed unecessary imports Fixed review findings Fixed review findings Added debug mode to match edt_events Betaflight branch Fixed RPM_LIMIT debug mode name Small refactoring to be coherent to current code style
✅ Deploy Preview for origin-betaflight-app ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
FC.MOTOR_CONFIG.use_dshot_telemetry = data.readU8() != 0; | ||
FC.MOTOR_CONFIG.use_esc_sensor = data.readU8() != 0; | ||
|
||
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_42)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@haslinghuis , the need for if semver 1.42
is removed now correct?
// Introduced in 1.42 | ||
buffer.push8(FC.MOTOR_CONFIG.motor_poles); | ||
buffer.push8(FC.MOTOR_CONFIG.use_dshot_telemetry ? 1 : 0); | ||
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_42)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above (no need semver 1.42)?
Follow up to #3262
Related to betaflight/betaflight#13855