DAQ: fixed potential bug where current_sample.db_id was always sent during auto loop centering.

This commit is contained in:
2025-07-07 09:51:33 +02:00
parent 43cd75d3a9
commit 6a7c84ec66
+1 -1
View File
@@ -321,7 +321,7 @@ async def alc_background(token: str = Depends(oauth2_scheme)) -> str:
@app.post("/alc/center_loop")
async def alc_center_loop(token: str = Depends(oauth2_scheme)) -> str:
auth.check_jwt_rw(cfg, auth.parse_token(token))
daq.auto_loop_center(cfg.current_sample.db_id)
daq.auto_loop_center()
return "OK"