diff options
author | jaseg <git@jaseg.de> | 2022-05-08 16:36:25 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-05-08 16:36:25 +0200 |
commit | 2e7724b9607223d84f2314c9d21cbd1111e017ec (patch) | |
tree | 9674cba7aafaf29d43385fc27253b9eaa1efd4cc /center_fw/adc.c | |
parent | f21e9797a28b6f4eb84f6c3a74d3b64817abc42a (diff) | |
download | 8seg-2e7724b9607223d84f2314c9d21cbd1111e017ec.tar.gz 8seg-2e7724b9607223d84f2314c9d21cbd1111e017ec.tar.bz2 8seg-2e7724b9607223d84f2314c9d21cbd1111e017ec.zip |
WIP
Diffstat (limited to 'center_fw/adc.c')
-rw-r--r-- | center_fw/adc.c | 4 |
1 files changed, 0 insertions, 4 deletions
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; } |