From cfea6b014a5ffbbf9fe70f3286800cfe4c4dc967 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Mon, 10 Jan 2011 02:29:16 +0000 Subject: [PATCH] not used git-svn-id: https://arducopter.googlecode.com/svn/trunk@1477 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/debug.pde | 41 ---------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 ArduCopterMega/debug.pde diff --git a/ArduCopterMega/debug.pde b/ArduCopterMega/debug.pde deleted file mode 100644 index ccb6f63d3a..0000000000 --- a/ArduCopterMega/debug.pde +++ /dev/null @@ -1,41 +0,0 @@ -#if DEBUG_SUBSYSTEM == 1 -void debug_subsystem() -{ - Serial.println("GPS Subsystem, RAW OUTPUT"); - - while(1){ - if(Serial1.available() > 0) // Ok, let me see, the buffer is empty? - { - delay(60); // wait for it all - while(Serial1.available() > 0){ - byte incoming = Serial1.read(); - //Serial.print(incoming,DEC); - Serial.print(incoming, BYTE); // will output Hex values - //Serial.print(","); - } - Serial.println(" "); - } - - } -} -#endif - -#if DEBUG_SUBSYSTEM == 2 -void debug_subsystem() -{ - Serial.println("Control Switch"); - - Serial.print("Control CH "); - Serial.println(FLIGHT_MODE_CHANNEL, DEC); - - while(1){ - delay(20); - byte switchPosition = readSwitch(); - if (oldSwitchPosition != switchPosition){ - Serial.printf_P(PSTR("Position %d\n"), i, switchPosition); - oldSwitchPosition = switchPosition; - } - } -} -#endif -