mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-16 03:38:55 +08:00
[stm32] fxi gpio header files included
This commit is contained in:
@@ -221,7 +221,7 @@ static rt_int8_t stm32_pin_read(rt_device_t dev, rt_base_t pin)
|
||||
{
|
||||
GPIO_TypeDef *gpio_port;
|
||||
uint16_t gpio_pin;
|
||||
GPIO_PinState state = PIN_LOW;
|
||||
GPIO_PinState state = GPIO_PIN_RESET;
|
||||
|
||||
if (PIN_PORT(pin) < PIN_STPORT_MAX)
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#ifndef __DRV_GPIO_H__
|
||||
#define __DRV_GPIO_H__
|
||||
|
||||
#include <drv_common.h>
|
||||
#include <rtdevice.h>
|
||||
#include <board.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
|
||||
#include <board.h>
|
||||
#include <rtconfig.h>
|
||||
|
||||
#ifdef BSP_USING_LCD_MIPI
|
||||
#include <lcd_port.h>
|
||||
|
||||
Reference in New Issue
Block a user