Change the length to uint16_t and work with it through standard htons/ntohs() macros. Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com> |
||
|---|---|---|
| .. | ||
| hid | ||
| netusb | ||
| bluetooth.c | ||
| cdc_acm.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| loopback.c | ||
| mass_storage.c | ||
| usb_dfu.c | ||
Change the length to uint16_t and work with it through standard htons/ntohs() macros. Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com> |
||
|---|---|---|
| .. | ||
| hid | ||
| netusb | ||
| bluetooth.c | ||
| cdc_acm.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| loopback.c | ||
| mass_storage.c | ||
| usb_dfu.c | ||