fix: Remove dongle USB timeout setting to prevent camera connection crashes
- Remove kp.core.set_timeout() call that causes crashes when camera is connected - Add explanatory message indicating timeout is skipped for stability - This prevents the system crash that occurs during camera initialization - Trade-off: Removes USB timeout but ensures stable camera operation The timeout setting was conflicting with camera connection process, causing the entire system to crash during device initialization. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
260668ceb8
commit
ab802e60cf
@ -289,9 +289,9 @@ class MultiDongle:
|
||||
sys.exit(1)
|
||||
|
||||
# setting timeout of the usb communication with the device
|
||||
# Note: Timeout setting removed as it causes crashes when camera is connected
|
||||
print('[Set Device Timeout]')
|
||||
kp.core.set_timeout(device_group=self.device_group, milliseconds=5000)
|
||||
print(' - Success')
|
||||
print(' - Skipped (prevents camera connection crashes)')
|
||||
|
||||
# if self.upload_fw:
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user