Skip to content

Commit 158df98

Browse files
sandeepmistrycmaglie
authored andcommitted
Correct disableDataRegisterEmptyInterruptUART to use INTENCLR instead of INTENSET
1 parent b24c9e5 commit 158df98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/SERCOM.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ void SERCOM::enableDataRegisterEmptyInterruptUART()
180180

181181
void SERCOM::disableDataRegisterEmptyInterruptUART()
182182
{
183-
sercom->USART.INTENSET.bit.DRE = 0;
183+
sercom->USART.INTENCLR.bit.DRE = 1;
184184
}
185185

186186
/* =========================

0 commit comments

Comments
 (0)