Browse Source

Changed all includes to use <foo.h> notation.

pull/2/head
Piotr Esden-Tempski 16 years ago
parent
commit
446de38728
  1. 8
      include/libopenstm32.h
  2. 2
      include/libopenstm32/common.h
  3. 2
      include/libopenstm32/gpio.h
  4. 2
      include/libopenstm32/rcc.h
  5. 2
      lib/gpio.c
  6. 2
      lib/rcc.c

8
include/libopenstm32.h

@ -20,9 +20,9 @@
#ifndef LIBOPENSTM32_LIBOPENSTM32_H
#define LIBOPENSTM32_LIBOPENSTM32_H
#include "libopenstm32/common.h"
#include "libopenstm32/memorymap.h"
#include "libopenstm32/rcc.h"
#include "libopenstm32/gpio.h"
#include <libopenstm32/common.h>
#include <libopenstm32/memorymap.h>
#include <libopenstm32/rcc.h>
#include <libopenstm32/gpio.h>
#endif

2
include/libopenstm32/common.h

@ -20,7 +20,7 @@
#ifndef LIBOPENSTM32_COMMON_H
#define LIBOPENSTM32_COMMON_H
#include "libopenstm32.h"
#include <libopenstm32.h>
/* Type definitions */
typedef signed char s8;

2
include/libopenstm32/gpio.h

@ -20,7 +20,7 @@
#ifndef LIBOPENSTM32_GPIO_H
#define LIBOPENSTM32_GPIO_H
#include "libopenstm32.h"
#include <libopenstm32.h>
/* GPIO port base addresses (for convenience) */
#define GPIOA GPIO_PORT_A_BASE

2
include/libopenstm32/rcc.h

@ -21,7 +21,7 @@
#ifndef LIBOPENSTM32_RCC_H
#define LIBOPENSTM32_RCC_H
#include "libopenstm32.h"
#include <libopenstm32.h>
/* RCC registers */
/* Note: Registers marked (**) only exist in "connectivity line" STM32s. */

2
lib/gpio.c

@ -34,7 +34,7 @@
* - GPIO remapping support
*/
#include "libopenstm32.h"
#include <libopenstm32.h>
void gpio_set_mode(u32 gpioport, u8 mode, u8 cnf, u16 gpios)
{

2
lib/rcc.c

@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "libopenstm32.h"
#include <libopenstm32.h>
void rcc_osc_ready_int_clear(osc_t osc)
{

Loading…
Cancel
Save