static void Send_Pro_Data(unsigned char *buf) { ProHeader *pHeader = (ProHeader *)buf; #ifdef PLATFORM_QT DJI_Pro_Hw::Pro_Hw_Get_Instance()->Pro_Hw_Send(buf,pHeader->length); #else Pro_Hw_Send(buf,pHeader->length); #endif }
static void Send_Pro_Data(unsigned char *buf) { ProHeader *pHeader = (ProHeader *)buf; Pro_Hw_Send(buf,pHeader->length); }