travisgoodspeed / md380tools

Python tools and patched firmware for the TYT-MD380
804 stars 245 forks source link

Print a friendly debug message when in DFU mode #902

Closed yuvadm closed 5 years ago

yuvadm commented 5 years ago

Attempting to run md380-tool when in DFU mode produces a [Errno 32] Pipe error.

This patch prints a nice error reminding the user that this tool should be run only after flashing the custom firmware and NOT in DFU mode

yuvadm commented 5 years ago

Apparently some trailing whitespaces were also cleaned up by git

travisgoodspeed commented 5 years ago

Thanks!