From f6329360c398450bd82b874f86cf682031d23cae Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 4 Dec 2011 02:11:04 +0100 Subject: Disabled unported code. --- telemetry.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'telemetry.cpp') diff --git a/telemetry.cpp b/telemetry.cpp index d44412f..781fb60 100644 --- a/telemetry.cpp +++ b/telemetry.cpp @@ -12,6 +12,7 @@ extern AHRS ahrs; volatile uint16_t dmabuf[2]; void telemetry_main() { + /* ADC1.CR2 = 0x9; while(ADC1.CR2 & 0x8); ADC1.CR2 = 0x5; @@ -28,7 +29,7 @@ void telemetry_main() { ADC1.CR1 = 0x100; ADC1.CR2 = 0x103; ADC1.CR2 = 0x103; - + */ while(1) { uint16_t buf[] = { ahrs.gyro.x, @@ -52,4 +53,4 @@ void telemetry_main() { uint32_t telemetry_stack[1024]; -Thread telemetry_thread(telemetry_stack, sizeof(telemetry_stack), telemetry_main); \ No newline at end of file +Thread telemetry_thread(telemetry_stack, sizeof(telemetry_stack), telemetry_main); -- cgit v1.2.3