Added MBAG_DATA
FossilOrigin-Name: 51923e5af6c0f3f8b784e87393bf26bd5a660da0a53aa0ae97c27a572161de35
This commit is contained in:
parent
fe9e01e125
commit
9479795a7b
@ -29,6 +29,10 @@ int cw_put_mbag_item(uint8_t * dst, struct mbag_item *item)
|
||||
return cw_put_data(dst, item->data, strlen((char *) item->data));
|
||||
}
|
||||
|
||||
if (MBAG_DATA == item->type){
|
||||
return cw_put_data(dst, item->data+1, *((uint8_t*)item->data));
|
||||
}
|
||||
|
||||
if (MBAG_BYTE == item->type){
|
||||
return cw_put_byte(dst, item->byte);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user