void config_save(void) { save_yawCntrl(); save_rollCntrl(); save_pitchCntrl(); // save_navigation(); // save_airspeedCntrl(); #if (ALTITUDE_GAINS_VARIABLE == 1) save_altitudeCntrlVariable(); #else save_altitudeCntrl(); #endif save_settings(); save_gains(); }
void save_config(void) { #if (USE_CONFIGFILE == 1) save_yawCntrl(); save_rollCntrl(); save_pitchCntrl(); // save_navigation(); // save_airspeedCntrl(); #if (ALTITUDE_GAINS_VARIABLE == 1) save_altitudeCntrlVariable(); #else save_altitudeCntrl(); #endif save_settings(); save_gains(); #endif // USE_CONFIGFILE }