From 72ab7177ae6ae039e01d2397f70e6ca02349001c Mon Sep 17 00:00:00 2001 From: tharexde Date: Wed, 23 Sep 2020 00:12:57 +0200 Subject: [PATCH] removed double declaration of variable "sample" --- armsrc/em4x50.c | 1 - 1 file changed, 1 deletion(-) diff --git a/armsrc/em4x50.c b/armsrc/em4x50.c index bb1eb5f10..b2b9c74f3 100644 --- a/armsrc/em4x50.c +++ b/armsrc/em4x50.c @@ -330,7 +330,6 @@ static uint32_t get_pulse_length(void) { // to avoid endless loops - quit after EM4X50_SAMPLE_CNT_MAX samples int sample_cnt = 0; - uint8_t sample = 0; volatile uint8_t sample = (uint8_t)AT91C_BASE_SSC->SSC_RHR;