mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
动态UI样例绘制、测试
This commit is contained in:
@@ -30,7 +30,7 @@ void UI_Delete(referee_id_t *_id,uint8_t Del_Operate,uint8_t Del_Layer)
|
||||
UI_delete_data.Layer = Del_Layer;
|
||||
|
||||
UI_delete_data.frametail = Get_CRC16_Check_Sum((uint8_t *)&UI_delete_data,LEN_HEADER+LEN_CMDID+temp_datalength,0xFFFF);
|
||||
/* syhtodo为什么填入0xFFFF */
|
||||
/* syhtodo为什么填入0xFFFF,关于crc校验 */
|
||||
|
||||
RefereeSend((uint8_t *)&UI_delete_data,LEN_HEADER+LEN_CMDID+temp_datalength+LEN_TAIL); //发送
|
||||
|
||||
@@ -321,7 +321,6 @@ void Char_Draw(String_Data_t *graph,char graphname[3],uint32_t Graph_Operate,uin
|
||||
**参数:*graph Graph_Data类型变量指针,用于存放图形数据
|
||||
fmt需要显示的字符串
|
||||
此函数的实现和具体使用类似于printf函数
|
||||
syhtodo 尚未理解该函数的写法
|
||||
**********************************************************************************************************/
|
||||
void Char_Write(String_Data_t *graph,char* fmt, ...)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user