1
0
Fork 0
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:
cTn 2013-11-11 13:33:50 +01:00
parent edc7df490c
commit 1bc89ae22a
2 changed files with 4 additions and 0 deletions

View file

@ -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);