Refactor UsbCommandId_LaunchEepromTransfer, change its arguments, and change its ID to 0x08.

This commit is contained in:
László Monda
2017-12-12 03:24:34 +01:00
parent 4fe5ce45ac
commit 5798f9e4fb
8 changed files with 64 additions and 48 deletions

View File

@@ -0,0 +1,16 @@
#ifndef __USB_COMMAND_LAUNCH_EEPROM_TRANSFER_H__
#define __USB_COMMAND_LAUNCH_EEPROM_TRANSFER_H__
// Typedef
typedef enum {
UsbStatusCode_LaunchEepromTransfer_InvalidEepromOperation = 2,
UsbStatusCode_LaunchEepromTransfer_InvalidConfigBufferId = 3,
UsbStatusCode_LaunchEepromTransfer_TransferError = 4,
} usb_status_code_launch_eeprom_transfer_t;
// Functions:
void UsbCommand_LaunchEepromTransfer(void);
#endif