编译器报错

[复制链接]
558|0
 楼主| 卡拉瓦乔 发表于 2020-4-23 19:07 | 显示全部楼层 |阅读模式
..\User\main.c(123): warning:  #188-D: enumerated type mixed with another type

主函数中包含了这个文件#include "stm32f10x_it.h"
中断函数头文件
extern FlagStatus Direction;
中断函数 中有调用这个Direction的值  
主函数头文件
FlagStatus Direction;    //正反向
这个怎么解决?什么原因
您需要登录后才可以回帖 登录 | 注册

本版积分规则

438

主题

438

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部