mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-04 04:27:34 +00:00
RemoveClockEntry -> TryRemoveClockEntry
This commit is contained in:
parent
fd739c2177
commit
38286d8623
2 changed files with 2 additions and 2 deletions
|
|
@ -171,7 +171,7 @@ namespace Antmicro.Renode.Peripherals.I2C.Betrusted
|
|||
private void FinishTransaction()
|
||||
{
|
||||
// this.Log(LogLevel.Error, "I2C: Removing clock entry for {0}",this.irqTimeoutCallback);
|
||||
machine.ClockSource.RemoveClockEntry(FinishTransaction);
|
||||
machine.ClockSource.TryRemoveClockEntry(FinishTransaction);
|
||||
irqTimeoutCallbackQueued = 0;
|
||||
if (shouldSendTxRxIrq)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ namespace Antmicro.Renode.Peripherals.I2C.Betrusted
|
|||
|
||||
private void FinishTransaction()
|
||||
{
|
||||
machine.ClockSource.RemoveClockEntry(FinishTransaction);
|
||||
machine.ClockSource.TryRemoveClockEntry(FinishTransaction);
|
||||
if (shouldSendTxRxIrq)
|
||||
{
|
||||
shouldSendTxRxIrq = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue