mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Merge pull request #4808 from wind0r/fix_remove_some_double_const
remove some double const
This commit is contained in:
commit
ef80c50cb2
2 changed files with 3 additions and 3 deletions
|
@ -199,7 +199,7 @@ static const adjustmentConfig_t defaultAdjustmentConfigs[ADJUSTMENT_FUNCTION_COU
|
|||
};
|
||||
|
||||
#if defined(USE_OSD) && defined(USE_OSD_ADJUSTMENTS)
|
||||
static const char const *adjustmentLabels[] = {
|
||||
static const char *adjustmentLabels[] = {
|
||||
"RC RATE",
|
||||
"RC EXPO",
|
||||
"THROTTLE EXPO",
|
||||
|
@ -226,7 +226,7 @@ static const char const *adjustmentLabels[] = {
|
|||
"HORIZON STRENGTH",
|
||||
};
|
||||
|
||||
const char const *adjustmentRangeName;
|
||||
const char *adjustmentRangeName;
|
||||
int adjustmentRangeValue = -1;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ typedef struct adjustmentState_s {
|
|||
|
||||
#define MAX_ADJUSTMENT_RANGE_COUNT 15
|
||||
|
||||
extern char const *adjustmentRangeName;
|
||||
extern const char *adjustmentRangeName;
|
||||
extern int adjustmentRangeValue;
|
||||
|
||||
PG_DECLARE_ARRAY(adjustmentRange_t, MAX_ADJUSTMENT_RANGE_COUNT, adjustmentRanges);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue