relocate comment to variable declaratiion

This commit is contained in:
Dominic Clifton 2014-04-23 19:58:39 +01:00
parent 8422723b15
commit bcc55abcc8
2 changed files with 5 additions and 2 deletions

View File

@ -333,7 +333,7 @@ static void resetConf(void)
resetRollAndPitchTrims(&currentProfile.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.accz_deadband = 40;
currentProfile.accxy_deadband = 40;

View File

@ -8,8 +8,11 @@ typedef struct profile_s {
controlRateConfig_t controlRateConfig;
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/
// For example, -6deg 37min, = -637 Japan, format is [sign]dddmm (degreesminutes) default is zero.
rollAndPitchTrims_t accelerometerTrims; // accelerometer trim
// sensor-related stuff