We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7350d5a commit dcfcbefCopy full SHA for dcfcbef
hardware/arduino/sam/cores/arduino/USB/CDC.cpp
@@ -309,8 +309,7 @@ Serial_::operator bool()
309
}
310
311
int32_t Serial_::readBreak() {
312
- uint8_t enableInterrupts = ((__get_PRIMASK() & 0x1) == 0 &&
313
- (__get_FAULTMASK() & 0x1) == 0);
+ uint8_t enableInterrupts = ((__get_PRIMASK() & 0x1) == 0 && (__get_FAULTMASK() & 0x1) == 0);
314
315
// disable interrupts,
316
// to avoid clearing a breakValue that might occur
0 commit comments