1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00

Add CLI variable i2c_overclock

Add i2c_overclock to master config and bump version
Start using the i2c_overclock CLI setting to initialize i2c clock speed
selector for F1 targets.
This commit is contained in:
ProDrone 2015-09-22 17:56:34 +02:00
parent cce3a1d755
commit eca7d9fd21
4 changed files with 5 additions and 1 deletions

View file

@ -325,6 +325,7 @@ typedef struct {
const clivalue_t valueTable[] = {
{ "emf_avoidance", VAR_UINT8 | MASTER_VALUE, &masterConfig.emf_avoidance, 0, 1 },
{ "i2c_overclock", VAR_UINT8 | MASTER_VALUE, &masterConfig.i2c_overclock, 0, 2 },
{ "mid_rc", VAR_UINT16 | MASTER_VALUE, &masterConfig.rxConfig.midrc, 1200, 1700 },
{ "min_check", VAR_UINT16 | MASTER_VALUE, &masterConfig.rxConfig.mincheck, PWM_RANGE_ZERO, PWM_RANGE_MAX },