mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
adding latest stuff to MSP
This commit is contained in:
parent
edc7df490c
commit
1bc89ae22a
2 changed files with 4 additions and 0 deletions
|
@ -206,6 +206,8 @@ function process_data(command, message_buffer, message_length_expected) {
|
|||
case MSP_codes.MSP_IDENT:
|
||||
CONFIG.version = parseFloat((data.getUint8(0) / 100).toFixed(2));
|
||||
CONFIG.multiType = data.getUint8(1);
|
||||
CONFIG.msp_version = data.getUint8(2);
|
||||
CONFIG.capability = data.getUint32(3, 1);
|
||||
|
||||
$('.software-version').html(CONFIG.version);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue