Fixed blocking on full rx buffer and implemented support for ATmega328P

This commit is contained in:
2019-08-14 18:58:21 +02:00
parent 8d028aa635
commit e326e40b38
5 changed files with 18 additions and 9 deletions

View File

@@ -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;
}