serial line shall trigger tx interrupt
This commit is contained in:
parent
98dcea11cd
commit
8a29ab3ee9
1 changed files with 3 additions and 0 deletions
3
dc11.cpp
3
dc11.cpp
|
@ -410,6 +410,9 @@ void dc11::write_word(const uint16_t addr, const uint16_t v)
|
|||
if (line_nr == 3) {
|
||||
if (s != nullptr)
|
||||
s->write(c);
|
||||
|
||||
if (is_tx_interrupt_enabled(line_nr))
|
||||
trigger_interrupt(line_nr, true);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue