C语言部分常用函数和语法

数据获取
//src = source 源
//dst = destination 目的

static bool get_need_use_dst(uint8_t *src,uint8_t *dst)
{
    bool flag = false;
    *dst = get_data(src);
    flag = check_data(*dst);
    return flag;
}
uint8_t dst = 0 ;
 if (get_need_set_meter_id(src,&dst))
 {

 }

猜你喜欢

转载自blog.csdn.net/u011559046/article/details/74856806