diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/runner.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runner.rs b/src/runner.rs index ccdbbf1ac..deb45f9f4 100644 --- a/src/runner.rs +++ b/src/runner.rs | |||
| @@ -310,6 +310,12 @@ where | |||
| 310 | if irq & IRQ_F2_PACKET_AVAILABLE != 0 { | 310 | if irq & IRQ_F2_PACKET_AVAILABLE != 0 { |
| 311 | self.check_status(buf).await; | 311 | self.check_status(buf).await; |
| 312 | } | 312 | } |
| 313 | |||
| 314 | if irq & IRQ_DATA_UNAVAILABLE != 0 { | ||
| 315 | // TODO what should we do here? | ||
| 316 | warn!("IRQ DATA_UNAVAILABLE, clearing..."); | ||
| 317 | self.bus.write16(FUNC_BUS, REG_BUS_INTERRUPT, 1).await; | ||
| 318 | } | ||
| 313 | } | 319 | } |
| 314 | 320 | ||
| 315 | /// Handle F2 events while status register is set | 321 | /// Handle F2 events while status register is set |
