Skip to content

Commit

Permalink
Add tests to test against old model code
Browse files Browse the repository at this point in the history
  • Loading branch information
howard0su committed Feb 19, 2019
1 parent 43a6a99 commit 6133a33
Show file tree
Hide file tree
Showing 17 changed files with 3,691 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/model.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct Model Model;
/*set this to write all model data even if it is the same as the default */
static u32 crc32;

const char * const MODEL_TYPE_VAL[MODELTYPE_LAST] = { "heli", "plane", "multi" };
static const char * const MODEL_TYPE_VAL[MODELTYPE_LAST] = { "heli", "plane", "multi" };
const u8 RADIO_TX_POWER_COUNT[TX_MODULE_LAST] = { // number of power settings
8, // CYRF6936,
7, // A7105,
Expand Down
2 changes: 2 additions & 0 deletions src/config/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
extern const char MODEL_NAME[];
extern const char MODEL_ICON[];
extern const char MODEL_TYPE[];
extern const char MODEL_MIXERMODE[];
extern const char MODEL_TEMPLATE[];
extern const char MODEL_AUTOMAP[];
#define UNKNOWN_ICON ("media/noicon" IMG_EXT)

//This cannot be computed, and must be manually updated
Expand Down
Loading

0 comments on commit 6133a33

Please sign in to comment.