mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
parent
b950ad9fb8
commit
42101ec791
2 changed files with 10 additions and 13 deletions
11
js/msp.js
11
js/msp.js
|
@ -208,17 +208,6 @@ function process_data(command, message_buffer, message_length_expected) {
|
|||
CONFIG.multiType = data.getUint8(1);
|
||||
CONFIG.msp_version = data.getUint8(2);
|
||||
CONFIG.capability = data.getUint32(3, 1);
|
||||
|
||||
$('.software-version').html(CONFIG.version);
|
||||
|
||||
// IDENT received, show the tab content
|
||||
if (!configuration_received) {
|
||||
GUI.timeout_remove('connecting'); // kill connecting timer
|
||||
configuration_received = true;
|
||||
|
||||
$('div#port-picker a.connect').text('Disconnect').addClass('active');
|
||||
$('#tabs li a:first').click();
|
||||
}
|
||||
break;
|
||||
case MSP_codes.MSP_STATUS:
|
||||
CONFIG.cycleTime = data.getUint16(0, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue