git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1013 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2009-06-02 09:54:57 +00:00
parent 26ba1c43bb
commit 10ff25a6d3
4 changed files with 12 additions and 4 deletions

View File

@ -24,13 +24,13 @@
* Tricks required to make the TRUE/FALSE declaration inside the library
* compatible.
*/
#ifndef __STM32F10x_MAP_H
#undef FALSE
#undef TRUE
#ifndef __STM32F10x_MAP_H
#include "stm32f10x_map.h"
#endif
#define FALSE 0
#define TRUE (!FALSE)
#endif
/*
* This module requires the port driver.

View File

@ -403,7 +403,7 @@
*
* <h2>Usage</h2>
* The use of I/O ports requires the inclusion of the header file @p ioports.h,
* this file is not automatically included @o ch.h like the other header
* this file is not automatically included @p ch.h like the other header
* files.
*
* @ingroup IO

View File

@ -27,8 +27,16 @@
#ifndef _IOPORTS_LLD_H_
#define _IOPORTS_LLD_H_
/*
* Tricks required to make the TRUE/FALSE declaration inside the library
* compatible.
*/
#ifndef __STM32F10x_MAP_H
#undef FALSE
#undef TRUE
#include "stm32f10x_map.h"
#define FALSE 0
#define TRUE (!FALSE)
#endif
/*===========================================================================*/

View File

@ -19,7 +19,7 @@
/**
* @file src/templates/ioports_lld.h
* @brief I/O ports low level driver
* @brief I/O ports low level driver template
* @addtogroup IOPortsLLD
* @{
*/