File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ dependencies = [
3636 " pytest-embedded~=1.17.0a2" ,
3737 " toml~=0.10.2" ,
3838 # Temporary workaround for Wokwi client - will be redirected to the official repo
39- " wokwi-client @ git+https://github.com/JakubAndrysek/wokwi-python-client.git@sync-wokwi -client" ,
39+ " wokwi-client @ git+https://github.com/JakubAndrysek/wokwi-python-client.git@add-sync -client" ,
4040]
4141
4242[project .optional-dependencies ]
Original file line number Diff line number Diff line change @@ -124,13 +124,13 @@ def serial_callback(data: bytes):
124124 logging .debug (f'Error putting data in message queue: { e } ' )
125125
126126 # Start monitoring in background
127- self .client .monitor_serial (serial_callback )
127+ self .client .serial_monitor (serial_callback )
128128
129129 def write (self , s : t .Union [str , bytes ]) -> None :
130130 """Write data to the Wokwi serial interface."""
131131 try :
132132 data = s if isinstance (s , bytes ) else s .encode ('utf-8' )
133- self .client .write_serial (data )
133+ self .client .serial_write (data )
134134 logging .debug (f'{ self .SOURCE } ->: { s } ' )
135135 except Exception as e :
136136 logging .error (f'Failed to write to Wokwi serial: { e } ' )
You can’t perform that action at this time.
0 commit comments