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

more debug info

This commit is contained in:
cTn 2013-11-15 16:33:10 +01:00
parent 3d7f66f586
commit f66e97608f

View file

@ -493,7 +493,7 @@ STM32_protocol.prototype.upload_procedure = function(step) {
case 7: case 7:
// go // go
// memory address = 4 bytes, 1st high byte, 4th low byte, 5th byte = checksum XOR(byte 1, byte 2, byte 3, byte 4) // memory address = 4 bytes, 1st high byte, 4th low byte, 5th byte = checksum XOR(byte 1, byte 2, byte 3, byte 4)
console.log('Sending GO command'); console.log('Sending GO command: 0x' + self.parsed_hex.extended_linear_address.toString(16));
self.send([self.command.go, 0xDE], 1, function(reply) { // 0x21 ^ 0xFF self.send([self.command.go, 0xDE], 1, function(reply) { // 0x21 ^ 0xFF
if (self.verify_response(self.status.ACK, reply)) { if (self.verify_response(self.status.ACK, reply)) {