mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
Merge pull request #854 from tunnell/fix/renode-v1.16-litex-timer-cast
emulation: cast frequency to ulong for Renode v1.16+ compatibility
This commit is contained in:
commit
1df3f38b4b
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ namespace Antmicro.Renode.Peripherals.Timers.Betrusted
|
|||
public LiteX_Timer_32(Machine machine, long frequency) : base(machine)
|
||||
{
|
||||
IRQ = new GPIO();
|
||||
innerTimer = new LimitTimer(machine.ClockSource, frequency, this, "LiteXTimer32", eventEnabled: true, autoUpdate: true);
|
||||
innerTimer = new LimitTimer(machine.ClockSource, (ulong)frequency, this, "LiteXTimer32", eventEnabled: true, autoUpdate: true);
|
||||
innerTimer.LimitReached += delegate
|
||||
{
|
||||
this.Log(LogLevel.Noisy, "Limit reached");
|
||||
|
|
|
|||
Loading…
Reference in a new issue