relocate comment to variable declaratiion
This commit is contained in:
parent
8422723b15
commit
bcc55abcc8
|
@ -333,7 +333,7 @@ static void resetConf(void)
|
||||||
|
|
||||||
resetRollAndPitchTrims(¤tProfile.accelerometerTrims);
|
resetRollAndPitchTrims(¤tProfile.accelerometerTrims);
|
||||||
|
|
||||||
currentProfile.mag_declination = 0; // For example, -6deg 37min, = -637 Japan, format is [sign]dddmm (degreesminutes) default is zero.
|
currentProfile.mag_declination = 0;
|
||||||
currentProfile.acc_lpf_factor = 4;
|
currentProfile.acc_lpf_factor = 4;
|
||||||
currentProfile.accz_deadband = 40;
|
currentProfile.accz_deadband = 40;
|
||||||
currentProfile.accxy_deadband = 40;
|
currentProfile.accxy_deadband = 40;
|
||||||
|
|
|
@ -9,7 +9,10 @@ typedef struct profile_s {
|
||||||
|
|
||||||
uint8_t dynThrPID;
|
uint8_t dynThrPID;
|
||||||
uint16_t tpa_breakpoint; // Breakpoint where TPA is activated
|
uint16_t tpa_breakpoint; // Breakpoint where TPA is activated
|
||||||
|
|
||||||
int16_t mag_declination; // Get your magnetic decliniation from here : http://magnetic-declination.com/
|
int16_t mag_declination; // Get your magnetic decliniation from here : http://magnetic-declination.com/
|
||||||
|
// For example, -6deg 37min, = -637 Japan, format is [sign]dddmm (degreesminutes) default is zero.
|
||||||
|
|
||||||
rollAndPitchTrims_t accelerometerTrims; // accelerometer trim
|
rollAndPitchTrims_t accelerometerTrims; // accelerometer trim
|
||||||
|
|
||||||
// sensor-related stuff
|
// sensor-related stuff
|
||||||
|
|
Loading…
Reference in New Issue