From 2e7724b9607223d84f2314c9d21cbd1111e017ec Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 8 May 2022 16:36:25 +0200 Subject: WIP --- center_fw/adc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'center_fw/adc.c') diff --git a/center_fw/adc.c b/center_fw/adc.c index d702274..0cf70d1 100644 --- a/center_fw/adc.c +++ b/center_fw/adc.c @@ -194,9 +194,7 @@ void receive_bit(struct bit_detector_st *st, int bit) { st->sync = 0; /* Fall through so we also pass the error to receive_symbol */ - GPIOA->BSRR = 1<<9; /* debug */ receive_symbol(&st->rx_st, symbol); - GPIOA->BRR = 1<<9; /* debug */ /* Exceedingly handy piece of debug code: The Debug Scope 2000 (TM) */ /* @@ -262,7 +260,6 @@ void bit_detector(struct bit_detector_st *st, int a) { } void DMA1_Channel1_IRQHandler(void) { - GPIOA->BSRR = 1<<5; /* ISR timing measurement for debugging */ //int start = SysTick->VAL; @@ -304,6 +301,5 @@ void DMA1_Channel1_IRQHandler(void) { tdiff += SysTick->LOAD; st.dma_isr_duration = tdiff; */ - GPIOA->BRR = 1<<5; } -- cgit