diff options
| author | Zhou Yanjie <[email protected]> | 2019-07-17 17:10:24 +0800 |
|---|---|---|
| committer | Zhou Yanjie <[email protected]> | 2019-07-19 16:03:57 +0800 |
| commit | 3c9375181d84d843999829deab7898e6f05b1cde (patch) | |
| tree | bd9a9b7f680fe07b8e1f330804bc20f5cccbc6e9 /components | |
| parent | 9a1be9e73deae678706abc31f74deef7d414f6cc (diff) | |
usb: hid.c: 修复编译过程中的错误/Fix compile-time error.
在第375行中,“uint8_t *data,”应改为“rt_uint8_t *data,”。
In line 375, "uint8_t *data," should be changed to "rt_uint8_t *data,".
Signed-off-by: Zhou Yanjie <[email protected]>
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/usb/usbdevice/class/hid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/usb/usbdevice/class/hid.c b/components/drivers/usb/usbdevice/class/hid.c index aea6d802d1..a9b2e62d70 100644 --- a/components/drivers/usb/usbdevice/class/hid.c +++ b/components/drivers/usb/usbdevice/class/hid.c @@ -372,7 +372,7 @@ const static char* _ustring[] = "Interface", }; -static void dump_data(uint8_t *data, rt_size_t size) +static void dump_data(rt_uint8_t *data, rt_size_t size) { rt_size_t i; for (i = 0; i < size; i++) |
