mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
Merge pull request #263 from sorpaas/sp-rename
RemoveClockEntry -> TryRemoveClockEntry
This commit is contained in:
commit
2fd685c513
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