laamaa / m8c

Cross-platform M8 tracker headless client
Other
409 stars 85 forks source link

Make zerobyte detection work for hardware M8. #81

Closed smootalicious closed 2 years ago

smootalicious commented 2 years ago

Removed check for buttons and check for conf. wait_for_device and just let the port init handle the disconnect.

Tested with wait_for_device =true and wait_for_device =false. Disconnects only if the device is really disconnected. Does a port reset every 128 wait_packets just in case when device seems unresponsive (as on the FX help screen).

laamaa commented 2 years ago

This is probably fine for now until we figure out some better way to do this.