1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-15 04:15:28 +03:00

debug message for timed out MSP commands

This commit is contained in:
cTn 2014-01-26 20:01:18 +01:00
parent a339b25c64
commit cbf4db1efe

View file

@ -210,6 +210,7 @@ function send_message(code, data, callback_sent, callback_msp) {
var obj = {'code': code, 'callback': callback_msp};
obj.timer = setInterval(function() {
// re-send data again
console.log('MSP data request timed-out: ' + code);
serial.send(bufferOut, function(writeInfo) {});
}, 1000);