在编译中出现如下警告:
user\systick.h(22): warning: #14-D: extra text after expected end of preprocessing directive
user\systick.h: #endif;
整段程序如下:
/* Includes ------------------------------------------------------------------*/
#include "stm32f10x.h"
/* Define to prevent recursive inclusion -----------------------------------------------*/
#ifndef __SYSTICK_H__
#define __SYSTICK_H__
/* Exported constants --------------------------------------------------------*/
/* Exported functions ----------------------------------------------------------------- */
void SysTick_Configuration(void);
void NVIC_SYSTICKConfiguration(void);
void delay_us(u16 time);
void delay_ms(u16 time);
#endif;
|