Automatically exit the printer class bootloader and start the application when the end of the HEX file is reached (thanks to Hans Schou).

This commit is contained in:
Dean Camera 2013-04-04 20:02:52 +00:00
parent 646e63b089
commit e40f0eb289
2 changed files with 50 additions and 1 deletions

View file

@ -63,6 +63,9 @@
/** LED mask for the library LED driver, to indicate that the USB interface is busy. */
#define LEDMASK_USB_BUSY LEDS_LED2
/** Magic bootloader key to unlock forced application start mode. */
#define MAGIC_BOOT_KEY 0xDC42
/* Enums: */
/** Intel HEX parser state machine states. */
enum HEX_Parser_States_t