新手入门
- 积分
- 11
- 金钱
- 11
- 注册时间
- 2017-7-31
- 在线时间
- 1 小时
|
..\Module\module_cmd.h(10): error: #20: identifier "bool" is undefined
bool busRead(uint8_t addr, uint8_t cmd, uint8_t *rData);
..\Module\module_cmd.h(11): error: #20: identifier "bool" is undefined
bool busWrite(uint8_t addr, uint8_t cmd, uint8_t wData);
..\Module\module_cmd.h(13): error: #20: identifier "bool" is undefined
bool busHandShake(uint8_t addr, unsigned retry);
注:已经包含#include <stdbool.h>头文件,但编译过后提示说“bool”没有定义。有遇到过这个问题的小伙伴吗,你们是如何解决的???
|
|