dfu-rs / dfu-core

Sans IO core library (traits and tools) for DFU
16 stars 5 forks source link

Fix clearing status not working #16

Closed cecton closed 2 years ago

cecton commented 2 years ago

Clearing status wasn't working because the error is raised before the status can be cleared.

I don't think there is any reason to check the status in the GetStatus step... the checked should always be handled on the receiving step after getting the status (which is already done properly).