Update esp32-hal-rmt.c

This commit is contained in:
Me No Dev 2019-05-01 20:10:41 +03:00 committed by GitHub
parent d13de284b8
commit 50d142950d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -665,7 +665,6 @@ static void IRAM_ATTR _rmt_isr(void* arg)
} }
if (intr_val & _INT_ERROR(ch)) { if (intr_val & _INT_ERROR(ch)) {
digitalWrite(2, 1);
// clear the flag // clear the flag
RMT.int_clr.val = _INT_ERROR(ch); RMT.int_clr.val = _INT_ERROR(ch);
RMT.int_ena.val &= ~_INT_ERROR(ch); RMT.int_ena.val &= ~_INT_ERROR(ch);