mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Enable G-Tune on Sparky
Fix code style
This commit is contained in:
parent
fe2f2f3053
commit
ef5887856d
2 changed files with 2 additions and 1 deletions
|
@ -155,7 +155,7 @@ void calculate_Gtune(uint8_t axis)
|
||||||
|
|
||||||
#ifdef BLACKBOX
|
#ifdef BLACKBOX
|
||||||
if (feature(FEATURE_BLACKBOX)) {
|
if (feature(FEATURE_BLACKBOX)) {
|
||||||
flightLogEvent_gtuneCycleResult_t eventData;
|
flightLogEvent_gtuneCycleResult_t eventData;
|
||||||
|
|
||||||
eventData.gtuneAxis = axis;
|
eventData.gtuneAxis = axis;
|
||||||
eventData.gtuneGyroAVG = AvgGyro[axis];
|
eventData.gtuneGyroAVG = AvgGyro[axis];
|
||||||
|
|
|
@ -108,6 +108,7 @@
|
||||||
#define CURRENT_METER_ADC_CHANNEL ADC_Channel_4
|
#define CURRENT_METER_ADC_CHANNEL ADC_Channel_4
|
||||||
|
|
||||||
#define AUTOTUNE
|
#define AUTOTUNE
|
||||||
|
#define GTUNE
|
||||||
#define BLACKBOX
|
#define BLACKBOX
|
||||||
#define TELEMETRY
|
#define TELEMETRY
|
||||||
#define SERIAL_RX
|
#define SERIAL_RX
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue