summaryrefslogtreecommitdiff
path: root/tools/usb/ffs-aio-example/multibuff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/usb/ffs-aio-example/multibuff')
-rw-r--r--tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c b/tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c
index 87216a0c4a8b..a349a872781b 100644
--- a/tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c
+++ b/tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c
@@ -37,8 +37,8 @@ static const struct {
.header = {
.magic = htole32(FUNCTIONFS_DESCRIPTORS_MAGIC),
.length = htole32(sizeof(descriptors)),
- .fs_count = 3,
- .hs_count = 3,
+ .fs_count = htole32(3),
+ .hs_count = htole32(3),
},
.fs_descs = {
.intf = {