diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2014-06-10 18:26:36 +0200 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2015-12-22 20:40:25 +0100 |
commit | ae40a83095f16fbc28b6c4b36650df88661c7a5b (patch) | |
tree | e2bec6291ffc3cbce07874101ec317397d554dc8 /examples | |
parent | 54bf28f8c8dcf4260ba155704888cd60b22962d0 (diff) | |
download | libusbg-ae40a83095f16fbc28b6c4b36650df88661c7a5b.tar.gz libusbg-ae40a83095f16fbc28b6c4b36650df88661c7a5b.tar.bz2 libusbg-ae40a83095f16fbc28b6c4b36650df88661c7a5b.zip |
libusbgx: Update show gadget example support ffs functions.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/show-gadgets.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/show-gadgets.c b/examples/show-gadgets.c index 1ae3860..672eac3 100644 --- a/examples/show-gadgets.c +++ b/examples/show-gadgets.c @@ -108,6 +108,9 @@ void show_function(usbg_function *f) case F_PHONET: fprintf(stdout, " ifname\t\t%s\n", f_attrs.phonet.ifname); break; + case F_FFS: + fprintf(stdout, " dev_name\t\t%s\n", f_attrs.ffs.dev_name); + break; default: fprintf(stdout, " UNKNOWN\n"); } |