use int8 as boolean
This commit is contained in:
parent
6cf4326987
commit
155f8059cc
1 changed files with 1 additions and 0 deletions
1
cli.c
1
cli.c
|
@ -9,6 +9,7 @@ static int timeout = 30;
|
|||
static const char *format_type(void *priv, struct blob_attr *attr)
|
||||
{
|
||||
static const char * const attr_types[] = {
|
||||
[BLOBMSG_TYPE_INT8] = "\"Boolean\"",
|
||||
[BLOBMSG_TYPE_INT32] = "\"Integer\"",
|
||||
[BLOBMSG_TYPE_STRING] = "\"String\"",
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue