Some common functions and syntax of C language

data fetch
// src = source source
// dst = destination 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))
 {

 }

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325575874&siteId=291194637