min throttle fix

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1221 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jphelirc 2010-12-21 03:23:03 +00:00
parent 930b09b286
commit 6fd20d880b

View File

@ -55,6 +55,7 @@ void APM_Init() {
/* ********************************************************* */
/////////////////////////////////////////////////////////
// Normal Initialization sequence starts from here.
readUserConfig(); // Load user configurable items from EEPROM
APM_RC.Init(); // APM Radio initialization
@ -112,7 +113,9 @@ void APM_Init() {
flightOrientation = SW_DIP1; // DIP1 off = we are in + mode, DIP1 on = we are in x mode
readUserConfig(); // Load user configurable items from EEPROM
// readUserConfig moved to up to ensure min throttle is read from eeprom
//readUserConfig(); // Load user configurable items from EEPROM
// Safety measure for Channel mids
if(roll_mid < 1400 || roll_mid > 1600) roll_mid = 1500;
@ -199,4 +202,4 @@ void APM_Init() {
}