|
|
@ -54,7 +54,7 @@ static const char * const sensorNames[] = { |
|
|
|
}; |
|
|
|
|
|
|
|
static const char * const accNames[] = { |
|
|
|
"", "ADXL345", "MPU6050", "MMA845x", NULL |
|
|
|
"", "ADXL345", "MPU6050", "MMA845x", "BMA280", "None", NULL |
|
|
|
}; |
|
|
|
|
|
|
|
typedef struct { |
|
|
@ -125,7 +125,7 @@ const clivalue_t valueTable[] = { |
|
|
|
{ "align_acc", VAR_UINT8, &mcfg.acc_align, 0, 8 }, |
|
|
|
{ "align_mag", VAR_UINT8, &mcfg.mag_align, 0, 8 }, |
|
|
|
{ "yaw_control_direction", VAR_INT8, &mcfg.yaw_control_direction, -1, 1 }, |
|
|
|
{ "acc_hardware", VAR_UINT8, &mcfg.acc_hardware, 0, 4 }, |
|
|
|
{ "acc_hardware", VAR_UINT8, &mcfg.acc_hardware, 0, 5 }, |
|
|
|
{ "moron_threshold", VAR_UINT8, &mcfg.moron_threshold, 0, 128 }, |
|
|
|
{ "gyro_lpf", VAR_UINT16, &mcfg.gyro_lpf, 0, 256 }, |
|
|
|
{ "gyro_cmpf_factor", VAR_UINT16, &mcfg.gyro_cmpf_factor, 100, 1000 }, |
|
|
|