cherry-embedded / CherryUSB

CherryUSB is a tiny and portable USB Stack (device & host) for embedded system with USB IP
https://cherryusb.readthedocs.io/
Apache License 2.0
1.14k stars 245 forks source link

Fix spelling errors #160

Closed yzl893 closed 6 months ago

yzl893 commented 6 months ago

拼写错误编译不过

sakumisu commented 6 months ago

这个没有问题的

sakumisu commented 6 months ago

if defined(RT_USING_LIBC) && !defined(RT_USING_NANO)

typedef size_t rt_size_t; /*< Type for size number / typedef ssize_t rt_ssize_t; /*< Used for a count of bytes or an error indication /

else

typedef rt_ubase_t rt_size_t; /*< Type for size number / typedef rt_base_t rt_ssize_t; /*< Used for a count of bytes or an error indication /

endif / defined(RT_USING_LIBC) && !defined(RT_USING_NANO) /

yzl893 commented 6 months ago

仔细看了下这个是RTT5.0.0以后新增的,之前的版本就会报错

sakumisu commented 6 months ago

dfs 文件改了,要按照新的来,文件夹备注写的就是5.0