From a8267920fe2e1397f6250237a0a4b76f37a1f5dd Mon Sep 17 00:00:00 2001 From: "rmackay9@yahoo.com" Date: Fri, 31 Dec 2010 23:58:34 +0000 Subject: [PATCH] ArduCopterNG - Sonar - modified code to use AN5 to match the wiki git-svn-id: https://arducopter.googlecode.com/svn/trunk@1380 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArducopterNG/System.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArducopterNG/System.pde b/ArducopterNG/System.pde index 1ba193f992..9e4a78b671 100644 --- a/ArducopterNG/System.pde +++ b/ArducopterNG/System.pde @@ -183,7 +183,7 @@ void APM_Init() { #endif #ifdef IsRANGEFINDER - AP_RangeFinder_down.init(AN1); AP_RangeFinder_down.set_orientation(AP_RANGEFINDER_ORIENTATION_DOWN); + AP_RangeFinder_down.init(AN5); AP_RangeFinder_down.set_orientation(AP_RANGEFINDER_ORIENTATION_DOWN); //AP_RangeFinder_frontRight.init(AN5); AP_RangeFinder_frontRight.set_orientation(AP_RANGEFINDER_ORIENTATION_FRONT_RIGHT); //AP_RangeFinder_backRight.init(AN4); AP_RangeFinder_backRight.set_orientation(AP_RANGEFINDER_ORIENTATION_BACK_RIGHT); //AP_RangeFinder_backLeft.init(AN3); AP_RangeFinder_backLeft.set_orientation(AP_RANGEFINDER_ORIENTATION_BACK_LEFT);