mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
correcting MSP implementation, optimizations
This commit is contained in:
parent
e01160dae7
commit
74e9256e75
11 changed files with 69 additions and 78 deletions
|
@ -155,9 +155,9 @@ function onOpen(openInfo) {
|
|||
}, 10000);
|
||||
|
||||
// request configuration data
|
||||
send_message(MSP_codes.MSP_UID, MSP_codes.MSP_UID, false, function() {
|
||||
send_message(MSP_codes.MSP_UID, false, false, function() {
|
||||
GUI.log('Unique device ID <span style="color: green">received</span> - <strong>0x' + CONFIG.uid[0].toString(16) + CONFIG.uid[1].toString(16) + CONFIG.uid[2].toString(16) + '</strong>');
|
||||
send_message(MSP_codes.MSP_IDENT, MSP_codes.MSP_IDENT, false, function() {
|
||||
send_message(MSP_codes.MSP_IDENT, false, false, function() {
|
||||
GUI.timeout_remove('connecting'); // kill connecting timer
|
||||
|
||||
GUI.log(chrome.i18n.getMessage('firmware_version', [CONFIG.version]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue