mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
fix vendor specific model defaults
This commit is contained in:
parent
9579e5d833
commit
569b449861
1 changed files with 3 additions and 1 deletions
|
@ -426,7 +426,7 @@ void defaultGVars()
|
|||
// - vendors should provide their own defaults in their own builds,
|
||||
// - and disclose them by their own means (GPL compliance)
|
||||
//
|
||||
void vendorSpecificModelDefaults()
|
||||
void setVendorSpecificModelDefaults()
|
||||
{
|
||||
#if defined(FRSKY_RELEASE)
|
||||
g_model.moduleData[INTERNAL_MODULE].type = IS_PXX2_INTERNAL_ENABLED() ? MODULE_TYPE_ISRM_PXX2 : MODULE_TYPE_XJT_PXX1;
|
||||
|
@ -473,6 +473,8 @@ void applyDefaultTemplate()
|
|||
#endif
|
||||
|
||||
// TODO: what about switch warnings in non-color LCD radios?
|
||||
|
||||
setVendorSpecificModelDefaults();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue