SerialConnect: handle cancelled file transfers.hrev51288
commitae2c5eeeab5f445bdef20042cdf3cc8d1312a748
authorAdrien Destugues <pulkomandy@pulkomandy.tk>
Sun, 16 Jul 2017 14:11:47 +0000 (16 16:11 +0200)
committerAdrien Destugues <pulkomandy@pulkomandy.tk>
Sun, 16 Jul 2017 14:11:47 +0000 (16 16:11 +0200)
tree7626b5e7e3a715a13174af174f04d041db8572a3
parentcd4d3a3010394751db49c96528a76888dbd328db
SerialConnect: handle cancelled file transfers.

The remote can cancel a file transfer by sending a CAN character.
Handle this by stopping the transfer and hiding the progress bar.
src/apps/serialconnect/XModem.cpp