M0 驱动包含文件不一样

This commit is contained in:
WangQiang 2016-05-26 01:51:59 +00:00
parent a65bf145c9
commit 4312b9748a
1 changed files with 3 additions and 0 deletions

3
DAC.h
View File

@ -2,7 +2,10 @@
#define __DAC_H__ #define __DAC_H__
#include "Port.h" #include "Port.h"
#if defined(STM32F1)
#include "stm32f10x_dac.h" #include "stm32f10x_dac.h"
#endif
/* /*
STM32F1 STM32F1