1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 23:05:19 +03:00

Expose camera control button resistance values

Allows fine tuning of the voltage divider resistance values for each button to account for slight variances amongst cameras. Also allows manual configuration for non-standard cameras. Resistance values are in 100ohm steps.
This commit is contained in:
Bruce Luckcuck 2019-07-06 08:02:32 -04:00
parent 7471ada0c1
commit 4a7cfeb34f
3 changed files with 8 additions and 3 deletions

View file

@ -49,6 +49,7 @@ typedef struct cameraControlConfig_s {
ioTag_t ioTag;
uint8_t inverted;
uint16_t buttonResistanceValues[CAMERA_CONTROL_KEYS_COUNT]; // resistance in 100ohm steps
} cameraControlConfig_t;
PG_DECLARE(cameraControlConfig_t, cameraControlConfig);