summaryrefslogtreecommitdiff
path: root/telemetry.cpp
diff options
context:
space:
mode:
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);