remove array from the signature
This commit is contained in:
parent
f2ee96c51d
commit
6bbd9dad9d
1 changed files with 4 additions and 5 deletions
|
@ -7,11 +7,10 @@ struct blob_buf b;
|
|||
|
||||
static const struct ubus_signature test_object_sig[] = {
|
||||
UBUS_METHOD_START("hello"),
|
||||
UBUS_ARRAY("test"),
|
||||
UBUS_TABLE_START(NULL),
|
||||
UBUS_FIELD(INT32, "id"),
|
||||
UBUS_FIELD(STRING, "msg"),
|
||||
UBUS_TABLE_END(),
|
||||
UBUS_TABLE_START(NULL),
|
||||
UBUS_FIELD(INT32, "id"),
|
||||
UBUS_FIELD(STRING, "msg"),
|
||||
UBUS_TABLE_END(),
|
||||
UBUS_METHOD_END(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue