Implement the write LED driver protocol command.

This commit is contained in:
László Monda
2016-09-27 02:03:43 +02:00
parent 7855fa3f87
commit b519cd412d
3 changed files with 20 additions and 3 deletions

View File

@@ -18,6 +18,8 @@
#define USB_COMMAND_JUMP_TO_BOOTLOADER 1
#define USB_COMMAND_TEST_LED 2
#define USB_COMMAND_WRITE_LED_DRIVER 3
#define WRITE_LED_DRIVER_RESPONSE_INVALID_ADDRESS 1
#define WRITE_LED_DRIVER_RESPONSE_INVALID_PAYLOAD_SIZE 2
#define USB_COMMAND_READ_LED_DRIVER 4
// Functions: