mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
print udid on connect
This commit is contained in:
parent
a9f73b6384
commit
2b416c6821
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ function onOpen(openInfo) {
|
||||||
|
|
||||||
// request configuration data
|
// request configuration data
|
||||||
send_message(MSP_codes.MSP_UID, MSP_codes.MSP_UID, false, function() {
|
send_message(MSP_codes.MSP_UID, MSP_codes.MSP_UID, false, function() {
|
||||||
GUI.log('Unique device ID <span style="color: green">received</span>');
|
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, MSP_codes.MSP_IDENT, false, function() {
|
||||||
GUI.timeout_remove('connecting'); // kill connecting timer
|
GUI.timeout_remove('connecting'); // kill connecting timer
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue