摘要:
在keil里面写STM32程序,这样写GPIO_WriteBit(GPIOC,GPIO_Pin_9,1),编译的时候就报enumerated type mixed with another type警告, 这说明数据类型混用了,进入GPIO_WriteBit函数发现其原型是void GPIO_Wri... 阅读全文
摘要:
今天在用keil写程序时 编译出现statement is unreachable 的警告,仔细看了下程序 发现 我在 return 后面写了句代码,statement is unreachable 的意思就是说 执行不到return后面的语句 如 char c;c=1; ... 阅读全文