fix: setup device and driver

This commit is contained in:
lilong.129
2025-02-18 18:04:18 +08:00
parent c8f7e2fa70
commit 7b052f0d98
14 changed files with 175 additions and 149 deletions

View File

@@ -52,7 +52,6 @@ func (r *Router) HandleDeviceContext() gin.HandlerFunc {
c.Abort()
return
}
device.Setup()
driver, err := device.NewDriver()
if err != nil {