网络自适应

This commit is contained in:
2584532475@qq.com committed 2024-09-10 11:51:07 +08:00
1 parent a589e89e33
commit 0f40dd8b17
68 files changed
+7062 -2678

No files matched your search

+17
View File
@@ -20,6 +20,23 @@ typedef union{
char byte[2];
}Int16Tobyte;
typedef union
{
uint32_t val;
uint8_t valBuf[4];
} DSH_INT_U;
typedef union
{
float val;
uint8_t valBuf[4];
} DSH_FLOAT_U;
float Bytes2Float (char * data);
uint32_t Bytes2Int (char * data);
int hexstr_to_hexbyte (char *src, char *obj, uint16_t length);