mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +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()
|
private void FinishTransaction()
|
||||||
{
|
{
|
||||||
// this.Log(LogLevel.Error, "I2C: Removing clock entry for {0}",this.irqTimeoutCallback);
|
// this.Log(LogLevel.Error, "I2C: Removing clock entry for {0}",this.irqTimeoutCallback);
|
||||||
machine.ClockSource.RemoveClockEntry(FinishTransaction);
|
machine.ClockSource.TryRemoveClockEntry(FinishTransaction);
|
||||||
irqTimeoutCallbackQueued = 0;
|
irqTimeoutCallbackQueued = 0;
|
||||||
if (shouldSendTxRxIrq)
|
if (shouldSendTxRxIrq)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -162,7 +162,7 @@ namespace Antmicro.Renode.Peripherals.I2C.Betrusted
|
||||||
|
|
||||||
private void FinishTransaction()
|
private void FinishTransaction()
|
||||||
{
|
{
|
||||||
machine.ClockSource.RemoveClockEntry(FinishTransaction);
|
machine.ClockSource.TryRemoveClockEntry(FinishTransaction);
|
||||||
if (shouldSendTxRxIrq)
|
if (shouldSendTxRxIrq)
|
||||||
{
|
{
|
||||||
shouldSendTxRxIrq = false;
|
shouldSendTxRxIrq = false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue