qmk / qmk_flasher

flashing utility for the Atmel AVR USB family
MIT License
63 stars 24 forks source link

Improve error detection - now with added non-brokenness! #14

Closed NoahAndrews closed 7 years ago

NoahAndrews commented 7 years ago

This fixes the previous PR, plus it's more complete. Now, every dfu-programmer command is checked for its expected output. The problem before was that I was checking the reset command's output for what the flash command outputs.

NoahAndrews commented 7 years ago

I tested each function by calling it directly in the console with and without a keyboard in dfu mode attached, so I know they all work correctly independently of each other.

skullydazed commented 7 years ago

Thanks!