removed old commented out code

This commit is contained in:
Pat Hickey 2011-11-13 15:11:49 +11:00
parent fefc7da1d1
commit 71ebf1f543

View File

@ -167,13 +167,6 @@ static void init_ardupilot()
compass.get_offsets(); // load offsets to account for airframe magnetic interference compass.get_offsets(); // load offsets to account for airframe magnetic interference
} }
} }
/*
Init is depricated - Jason
if(g.sonar_enabled){
sonar.init(SONAR_PIN, &adc);
Serial.print("Sonar init: "); Serial.println(SONAR_PIN, DEC);
}
*/
#endif #endif
#if LOGGING_ENABLED == ENABLED #if LOGGING_ENABLED == ENABLED