[stm32] fxi gpio header files included

This commit is contained in:
Meco Man 2024-01-07 22:41:07 +08:00
parent 6b6d39d716
commit 0a3a10e5bb
3 changed files with 3 additions and 2 deletions

View File

@ -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)
{

View File

@ -14,7 +14,7 @@
#ifndef __DRV_GPIO_H__
#define __DRV_GPIO_H__
#include <drv_common.h>
#include <rtdevice.h>
#include <board.h>
#ifdef __cplusplus

View File

@ -9,6 +9,7 @@
*/
#include <board.h>
#include <rtconfig.h>
#ifdef BSP_USING_LCD_MIPI
#include <lcd_port.h>