-
-
Notifications
You must be signed in to change notification settings - Fork 936
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
Fix MSP flow, make MSP timeout dynamic #2846
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
AUTOMERGE: (FAIL)
|
This comment has been minimized.
This comment has been minimized.
src/js/tabs/motors.js
Outdated
@@ -579,7 +579,7 @@ TABS.motors.initialize = function (callback) { | |||
// Amperage | |||
function power_data_pull() { | |||
motorVoltage.text(i18n.getMessage('motorsVoltageValue', [FC.ANALOG.voltage])); | |||
motorMahDrawingElement.text(i18n.getMessage('motorsADrawingValue', [FC.ANALOG.amperage.toFixed(2)])); | |||
motorMahDrawingElement.text(i18n.getMessage('motorsADrawingValue', [FC.ANALOG.amperage?.toFixed(2)])); |
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.
What does this change?
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.
The value was initial undefined causing an error. Faster processing seem to have side effects. Until now it's the only one found while optimizing MSP. Updated.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
646b2a9
to
194ebb7
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
fc45c9e
to
d1354d5
Compare
This comment has been minimized.
This comment has been minimized.
a9b0068
to
8f50699
Compare
This comment has been minimized.
This comment has been minimized.
b7277eb
to
d2117cf
Compare
This comment has been minimized.
This comment has been minimized.
55a1717
to
8dd0d9b
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Add parameters to status bar Use async and await on serial_backend
Kudos, SonarCloud Quality Gate passed!
|
Do you want to test this code? Here you have an automated build: |
MSP_STATUS
vsMSP_STATUS_EX
as it was called unsupported (without software version control).Note:
With a lower timeout the code shows more timeouts but overall the code is processing more calls optimizing processing.