13,6 → 13,7 |
#include "output.h" |
#include "attitude.h" |
#include "commands.h" |
#include "main.h" |
|
#define FC_ADDRESS 1 |
#define NC_ADDRESS 2 |
183,10 → 184,6 |
// no bytes to send |
txd_complete = TRUE; |
|
#ifdef USE_DIRECT_GPS |
toMk3MagTimer = setDelay(220); |
#endif |
|
versionInfo.SWMajor = VERSION_MAJOR; |
versionInfo.SWMinor = VERSION_MINOR; |
versionInfo.SWPatch = VERSION_PATCH; |
259,8 → 256,8 |
rxd_buffer_locked = TRUE; // lock the rxd buffer |
// if 2nd byte is an 'R' enable watchdog that will result in an reset |
if (rxd_buffer[2] == 'R') { |
wdt_enable(WDTO_250MS); |
} // Reset-Commando |
reset(); |
} |
} else { // checksum invalid |
rxd_buffer_locked = FALSE; // unlock rxd buffer |
} |