星空网 > 软件开发 > 操作系统

stm32 usb error : identifier bool is undefined

.\usb\USB\usb_pwr.h(54): error:  #20: identifier "bool" is undefined
usb\USB\usb_pwr.h(54): error:  #20: identifier "bool" is undefined
usb-driver\STM32_USB-FS-Device_DriverV3.1.1\src\usb_core.c(511): error:  #20: identifier "TRUE" is undefined
usb-driver\STM32_USB-FS-Device_DriverV3.1.1\src\usb_core.c(45): error:  #20: identifier "FALSE" is undefined

 

 

在stm32f103.h中添加       typedef enum {FALSE = 0, TRUE = !FALSE} bool;    就没有错误了 

 

 

 

stm32 usb error :  identifier bool is undefinedimages/loading.gif' data-original="http://www.openedv.com/data/attachment/forum/2015/11/11/a21643e757ad62227411f21898be3d6a_34783.png_" />

 http://www.cnblogs.com/xiaobo-Linux/

 

stm32 usb error :  identifier bool is undefined

 




原标题:stm32 usb error : identifier bool is undefined

关键词:ie

ie
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

2019下半年旺季打造爆款Listing,这些事必须要做好!:https://www.ikjzd.com/articles/101729
9个有效的获得亚马逊review的方式!:https://www.ikjzd.com/articles/10173
中东成功卖家案例:销量增长超50%,利润率高达40%!:https://www.ikjzd.com/articles/101730
纯干货:亚马逊ACOS低于5%打法大揭秘,助你轻松打造旺季爆款!:https://www.ikjzd.com/articles/101731
​亚马逊Prime Day,带领全网电商平台躺赢!:https://www.ikjzd.com/articles/101735
Shopee关键词广告“赢”销有道!返点30%广告金共送出400万!:https://www.ikjzd.com/articles/101736
TikTok 将推出先买后付服务 :https://www.kjdsnews.com/a/1836651.html
TikTok 将推出先买后付服务 :https://www.goluckyvip.com/news/188219.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流