mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 12:25:13 +03:00
debug message for timed out MSP commands
This commit is contained in:
parent
a339b25c64
commit
cbf4db1efe
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ function send_message(code, data, callback_sent, callback_msp) {
|
||||||
var obj = {'code': code, 'callback': callback_msp};
|
var obj = {'code': code, 'callback': callback_msp};
|
||||||
obj.timer = setInterval(function() {
|
obj.timer = setInterval(function() {
|
||||||
// re-send data again
|
// re-send data again
|
||||||
|
console.log('MSP data request timed-out: ' + code);
|
||||||
serial.send(bufferOut, function(writeInfo) {});
|
serial.send(bufferOut, function(writeInfo) {});
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue