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.
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.
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.