#include "stm32f10x.h"头文件未引用,一般应放置在.h文件中,有时可能只放在.c文件中。
#include "sys.h"中常包含#include "stm32f10x.h"头文件,#include "sys.h"未引用也会导致问题。

更多推荐