mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Fix PG ID and corruption in MSP_SET_SENSOR_CONFIG (#14230)
* Fix PG ID * Fix corruption in MSP_SET_SENSOR_CONFIG * No need to specify ammount of bytes remaining * Update after review from @ledvinap * Remove unused PG_BETAFLIGHT_END
This commit is contained in:
parent
e7f0486ebe
commit
bde342c8cb
3 changed files with 11 additions and 7 deletions
|
@ -68,8 +68,8 @@ PG_REGISTER_WITH_RESET_TEMPLATE(opticalflowConfig_t, opticalflowConfig, PG_OPTIC
|
|||
PG_RESET_TEMPLATE(opticalflowConfig_t, opticalflowConfig,
|
||||
.opticalflow_hardware = OPTICALFLOW_NONE,
|
||||
.rotation = 0,
|
||||
.flow_lpf = 0,
|
||||
.flip_x = 0
|
||||
.flip_x = 0,
|
||||
.flow_lpf = 0
|
||||
);
|
||||
|
||||
static opticalflow_t opticalflow;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue