Uses the generic way first.
FossilOrigin-Name: 789a2dd288e31291e7ee15f853d625ca649875e763a89b6f3ae158855692f1f1
This commit is contained in:
parent
dc2bfd8a35
commit
30d6247c98
@ -22,9 +22,16 @@
|
|||||||
|
|
||||||
#include "cw.h"
|
#include "cw.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
#include "dbg.h"
|
||||||
|
|
||||||
int cw_put_mbag_item(uint8_t * dst, struct mbag_item *item)
|
int cw_put_mbag_item(uint8_t * dst, struct mbag_item *item)
|
||||||
{
|
{
|
||||||
|
if (item->type->put){
|
||||||
|
cw_dbg(DBG_X,"User put method to put ");
|
||||||
|
return item->type->put(item,dst);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if (MBAG_STR == item->type ){
|
if (MBAG_STR == item->type ){
|
||||||
return cw_put_data(dst, item->data, strlen((char *) item->data));
|
return cw_put_data(dst, item->data, strlen((char *) item->data));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user