From 3ebca1ae1128dee9eae91da0b4363ce0d4621e11 Mon Sep 17 00:00:00 2001 From: Antonia Elsen Date: Tue, 15 Oct 2024 18:36:58 -0700 Subject: [PATCH] fix: fix sim ElectricalBroadband node data emit --- synapse/simulator/nodes/electrical_broadband.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/synapse/simulator/nodes/electrical_broadband.py b/synapse/simulator/nodes/electrical_broadband.py index 2938a5f..8226cd9 100644 --- a/synapse/simulator/nodes/electrical_broadband.py +++ b/synapse/simulator/nodes/electrical_broadband.py @@ -1,3 +1,4 @@ +import asyncio import random import time @@ -57,4 +58,4 @@ async def run(self): t0 = now - time.sleep(0.100) + await asyncio.sleep(0.100)