summaryrefslogtreecommitdiff
path: root/telemetry.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-12-04 02:11:04 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-12-04 02:11:04 +0100
commitf6329360c398450bd82b874f86cf682031d23cae (patch)
tree4c3d906413b4d5b8818672e64139cd23c7a56846 /telemetry.cpp
parent8e8dbf2c2aa18a25f3a330db9135fd64de8ebf6c (diff)
Disabled unported code.
Diffstat (limited to 'telemetry.cpp')
-rw-r--r--telemetry.cpp5
1 files changed, 3 insertions, 2 deletions
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);