1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 23:35:34 +03:00

Added transponder config

This commit is contained in:
Martin Budden 2017-02-24 22:42:00 +00:00
parent ff40e8c844
commit a897f5e23b
6 changed files with 29 additions and 16 deletions

View file

@ -1019,7 +1019,7 @@ void createDefaultConfig(master_t *config)
#ifdef TRANSPONDER
static const uint8_t defaultTransponderData[6] = { 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC }; // Note, this is NOT a valid transponder code, it's just for testing production hardware
memcpy(config->transponderData, &defaultTransponderData, sizeof(defaultTransponderData));
memcpy(config->transponderConfig.data, &defaultTransponderData, sizeof(defaultTransponderData));
#endif
#ifdef BLACKBOX