Searched refs:g_TfaDeviceMessageStatus (Results 1 – 1 of 1) sorted by relevance
15 tfa_hal_msg_status_t g_TfaDeviceMessageStatus = {.msgComplete = 0, .totalSend = 0}; variable56 memcpy(g_TfaDeviceMessageStatus.sndBuffer, msg, totalRcv); in TFA_Hal_CollectMsg()57 TFA_Hal_ProcessMsg(handle, msg, g_TfaDeviceMessageStatus.sndBuffer); in TFA_Hal_CollectMsg()59 g_TfaDeviceMessageStatus.totalSend = USB_HID_GENERIC_OUT_BUFFER_LENGTH; // TODO errorcheck in TFA_Hal_CollectMsg()60 g_TfaDeviceMessageStatus.msgComplete = 1; in TFA_Hal_CollectMsg()142 struct _tfa_hal_msg *rmsg = (struct _tfa_hal_msg *)(g_TfaDeviceMessageStatus.sndBuffer); in TFA_Hal_GetNextChunkLength()143 …maining = rmsg->rlength + sizeof(struct _tfa_hal_msg) - g_TfaDeviceMessageStatus.totalSend; in TFA_Hal_GetNextChunkLength()148 g_TfaDeviceMessageStatus.totalSend += chunkLength; in TFA_Hal_GetNextChunkLength()152 g_TfaDeviceMessageStatus.totalSend = 0; // done in TFA_Hal_GetNextChunkLength()