File tree Expand file tree Collapse file tree 3 files changed +0
-4
lines changed
Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 77
88
99def main () -> None :
10-
1110 if len (sys .argv ) != 2 :
1211 print ("Must provide the COM port/serial port where the radio is connected." )
1312 exit (1 )
Original file line number Diff line number Diff line change 1212
1313
1414def main () -> None :
15-
1615 if len (sys .argv ) != 2 :
1716 print ("Must provide the COM port/serial port where the radio is connected." )
1817 exit (1 )
Original file line number Diff line number Diff line change @@ -123,15 +123,13 @@ async def replay_goto(x_client_id: str = Header(alias="X-Client-ID")):
123123
124124@app .post ("/record_start" )
125125async def record_start (x_client_id : str = Header (alias = "X-Client-ID" )):
126-
127126 recorder .start ()
128127 logger .info (f"Record start for client { x_client_id } " )
129128 return {"status" : "ok" }
130129
131130
132131@app .post ("/record_stop" )
133132async def record_stop (x_client_id : str = Header (alias = "X-Client-ID" )):
134-
135133 recorder .stop ()
136134 logger .info (f"Record stop for client { x_client_id } " )
137135 return {"status" : "ok" }
You can’t perform that action at this time.
0 commit comments