Fixed blocking on full rx buffer and implemented support for ATmega328P
This commit is contained in:
@@ -220,7 +220,7 @@ class Hardware {
|
||||
uint8_t interruptVal = 0;
|
||||
|
||||
if (driven == Driven::INTERRUPT)
|
||||
interruptVal |= (1 << CtrlFlagsB::DATA_REG_EMPTY_INT_ENABLE) | (1 << CtrlFlagsB::RX_INT_ENABLE);
|
||||
interruptVal = (1 << CtrlFlagsB::RX_INT_ENABLE);
|
||||
|
||||
return interruptVal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user