Skip to content

Commit

Permalink
Merge branch 'i2c-rewrite' of github.com:VoodooSMBus/VoodooRMI into i…
Browse files Browse the repository at this point in the history
…2c-rewrite
  • Loading branch information
1Revenger1 committed Oct 20, 2024
2 parents c925d87 + f63343c commit 712d403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VoodooRMI/Transports/I2C/RMII2C.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ void RMII2C::interruptOccured(OSObject *owner, IOInterruptEventSource *src, int
}

AbsoluteTime timestamp = mach_absolute_time();
if (src != nullptr) {
timestamp = src->getPimaryInterruptTimestamp();
if (interrupt_source != nullptr) {
timestamp = interrupt_source->getPimaryInterruptTimestamp();
}

handleAttention(timestamp, &inputBuffer[3], size - 3);
Expand Down

0 comments on commit 712d403

Please sign in to comment.