existing FW file check to avoid redundant transmit
+ refactro dupliacte code
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "stdbool.h"
|
||||
#include "stdint.h"
|
||||
|
||||
#include "pb_common.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -60,6 +60,9 @@ uint8_t UsbDataPacket_head_sum(const UsbDataPacket* p);
|
||||
*/
|
||||
bool UsbDataPacket_head_check(const UsbDataPacket* p);
|
||||
|
||||
|
||||
bool UsbDataPacketSendMessage(uint32_t type , UsbDataPacket * buffer ,const pb_msgdesc_t * fields ,const void* msg);
|
||||
|
||||
/**
|
||||
* @brief This function starts the USB data handler.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user