mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Deactivate aux_serial on Horus targets (#6733)
Remove AUX_SERIAL on Horus
This commit is contained in:
parent
6684a75d92
commit
0a8917cbe2
9 changed files with 9 additions and 21 deletions
|
@ -123,6 +123,10 @@ void convertModelData_218_to_219(ModelData &model)
|
|||
// 4 bytes more for the ModelHeader::bitmap
|
||||
memclear(&newModel.header.bitmap[10], 4);
|
||||
memcpy(newModel.timers, oldModel.timers, offsetof(ModelData_v218, mixData) - offsetof(ModelData_v218, timers));
|
||||
|
||||
// trainer battery compartment removed
|
||||
if (newModel.trainerData.mode >= TRAINER_MODE_MASTER_BLUETOOTH)
|
||||
newModel.trainerData.mode -= 1;
|
||||
#endif
|
||||
|
||||
memclear(newModel.mixData, sizeof(ModelData_v219) - offsetof(ModelData_v219, mixData));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue