mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-20 00:51:41 +00:00
Small fix for driver settings
This commit is contained in:
@@ -59,6 +59,7 @@ public class ServerHandler {
|
||||
for (HashMap.Entry<String, Object> e : ((HashMap<String, Object>) entry.getValue()).entrySet()) {
|
||||
setField(CameraManager.getCurrentCamera(), e.getKey(), e.getValue());
|
||||
}
|
||||
CameraManager.getCurrentCamera().setDriverMode((Boolean) ((HashMap<String, Object>) entry.getValue()).get("isDriver"));
|
||||
CameraManager.saveCameras();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user