removed double declaration of variable "sample"

This commit is contained in:
tharexde 2020-09-23 00:12:57 +02:00
commit 72ab7177ae

View file

@ -330,7 +330,6 @@ static uint32_t get_pulse_length(void) {
// to avoid endless loops - quit after EM4X50_SAMPLE_CNT_MAX samples // to avoid endless loops - quit after EM4X50_SAMPLE_CNT_MAX samples
int sample_cnt = 0; int sample_cnt = 0;
uint8_t sample = 0;
volatile uint8_t sample = (uint8_t)AT91C_BASE_SSC->SSC_RHR; volatile uint8_t sample = (uint8_t)AT91C_BASE_SSC->SSC_RHR;