diff options
-rw-r--r-- | tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c | 4 | ||||
-rw-r--r-- | tools/usb/ffs-aio-example/simple/device_app/aio_simple.c | 4 |
2 files changed, 4 insertions, 4 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 { | |||
37 | .header = { | 37 | .header = { |
38 | .magic = htole32(FUNCTIONFS_DESCRIPTORS_MAGIC), | 38 | .magic = htole32(FUNCTIONFS_DESCRIPTORS_MAGIC), |
39 | .length = htole32(sizeof(descriptors)), | 39 | .length = htole32(sizeof(descriptors)), |
40 | .fs_count = 3, | 40 | .fs_count = htole32(3), |
41 | .hs_count = 3, | 41 | .hs_count = htole32(3), |
42 | }, | 42 | }, |
43 | .fs_descs = { | 43 | .fs_descs = { |
44 | .intf = { | 44 | .intf = { |
diff --git a/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c b/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c index f558664a3317..28c22cb51249 100644 --- a/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c +++ b/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c | |||
@@ -35,8 +35,8 @@ static const struct { | |||
35 | .header = { | 35 | .header = { |
36 | .magic = htole32(FUNCTIONFS_DESCRIPTORS_MAGIC), | 36 | .magic = htole32(FUNCTIONFS_DESCRIPTORS_MAGIC), |
37 | .length = htole32(sizeof(descriptors)), | 37 | .length = htole32(sizeof(descriptors)), |
38 | .fs_count = 3, | 38 | .fs_count = htole32(3), |
39 | .hs_count = 3, | 39 | .hs_count = htole32(3), |
40 | }, | 40 | }, |
41 | .fs_descs = { | 41 | .fs_descs = { |
42 | .intf = { | 42 | .intf = { |