First Draft of the UsbDataHandler
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define USBDATAHANDLER_H
|
||||
|
||||
#include "usbd_cdc_if.h"
|
||||
#include "firmware.pb.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -14,6 +15,11 @@ USBD_StatusTypeDef UsbDataHandler_RxCallback(uint8_t* Buf, uint32_t Len);
|
||||
|
||||
|
||||
|
||||
void DataClbk_FirmwareStart(void * msg, uint32_t length);
|
||||
void DataClbk_FirmwarePackage(void * msg, uint32_t length);
|
||||
void DataClbk_FirmwarePackageAck(void * msg, uint32_t length);
|
||||
void DataClbk_FirmwareDone(void * msg, uint32_t length);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user