From f9bd71f9be931992fa68e678abf954997a32171a Mon Sep 17 00:00:00 2001 From: jflyper Date: Sat, 29 Jun 2019 02:21:51 +0900 Subject: [PATCH] Remove bogus pg/pg.h and pg/pg_ids.h from driver files --- src/main/drivers/inverter.c | 3 --- src/main/drivers/max7456.c | 2 -- src/main/drivers/sdcard_sdio_baremetal.c | 1 - src/main/drivers/sdio_f4xx.c | 1 - src/main/drivers/sdio_f7xx.c | 1 - src/main/drivers/sdio_h7xx.c | 1 - src/main/drivers/serial_escserial.c | 3 --- src/main/drivers/serial_pinconfig.c | 1 - src/main/drivers/serial_usb_vcp.c | 2 +- src/main/io/dashboard.c | 2 -- 10 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/main/drivers/inverter.c b/src/main/drivers/inverter.c index 0ef2bd310..847b9b01b 100644 --- a/src/main/drivers/inverter.c +++ b/src/main/drivers/inverter.c @@ -29,9 +29,6 @@ #include "drivers/io.h" #include "drivers/serial.h" -#include "pg/pg.h" -#include "pg/pg_ids.h" - #include "inverter.h" static const serialPinConfig_t *pSerialPinConfig; diff --git a/src/main/drivers/max7456.c b/src/main/drivers/max7456.c index 90ea6afcc..731bf1382 100644 --- a/src/main/drivers/max7456.c +++ b/src/main/drivers/max7456.c @@ -29,8 +29,6 @@ #include "build/debug.h" #include "pg/max7456.h" -#include "pg/pg.h" -#include "pg/pg_ids.h" #include "pg/vcd.h" #include "drivers/bus_spi.h" diff --git a/src/main/drivers/sdcard_sdio_baremetal.c b/src/main/drivers/sdcard_sdio_baremetal.c index 588ca95a3..cf6cafc24 100644 --- a/src/main/drivers/sdcard_sdio_baremetal.c +++ b/src/main/drivers/sdcard_sdio_baremetal.c @@ -35,7 +35,6 @@ #include "drivers/time.h" -#include "pg/pg.h" #include "pg/bus_spi.h" // For spiPinConfig_t, which is unused but should be defined #include "pg/sdio.h" diff --git a/src/main/drivers/sdio_f4xx.c b/src/main/drivers/sdio_f4xx.c index 8fe3a173c..5dcd12a5d 100644 --- a/src/main/drivers/sdio_f4xx.c +++ b/src/main/drivers/sdio_f4xx.c @@ -38,7 +38,6 @@ #include "sdmmc_sdio.h" #include "stm32f4xx_gpio.h" -#include "pg/pg.h" #include "pg/sdio.h" #include "drivers/io.h" diff --git a/src/main/drivers/sdio_f7xx.c b/src/main/drivers/sdio_f7xx.c index 150c3a464..408d3f3ea 100644 --- a/src/main/drivers/sdio_f7xx.c +++ b/src/main/drivers/sdio_f7xx.c @@ -35,7 +35,6 @@ #include "sdmmc_sdio.h" #include "stm32f7xx.h" -#include "pg/pg.h" #include "pg/sdio.h" #include "drivers/io.h" diff --git a/src/main/drivers/sdio_h7xx.c b/src/main/drivers/sdio_h7xx.c index 867edb365..5001300ce 100644 --- a/src/main/drivers/sdio_h7xx.c +++ b/src/main/drivers/sdio_h7xx.c @@ -34,7 +34,6 @@ #include "sdmmc_sdio.h" -#include "pg/pg.h" #include "pg/sdio.h" #include "drivers/io.h" diff --git a/src/main/drivers/serial_escserial.c b/src/main/drivers/serial_escserial.c index 74fbbea5f..99de47b4f 100644 --- a/src/main/drivers/serial_escserial.c +++ b/src/main/drivers/serial_escserial.c @@ -31,9 +31,6 @@ #include "common/utils.h" -#include "pg/pg.h" -#include "pg/pg_ids.h" - #include "drivers/io.h" #include "drivers/light_led.h" #include "drivers/nvic.h" diff --git a/src/main/drivers/serial_pinconfig.c b/src/main/drivers/serial_pinconfig.c index c28f3c415..fadd6c3c8 100644 --- a/src/main/drivers/serial_pinconfig.c +++ b/src/main/drivers/serial_pinconfig.c @@ -32,7 +32,6 @@ #include "drivers/serial.h" #include "drivers/serial_uart.h" -#include "pg/pg.h" #include "pg/pg_ids.h" // Backward compatibility for exisiting targets diff --git a/src/main/drivers/serial_usb_vcp.c b/src/main/drivers/serial_usb_vcp.c index 47266c076..0fc5a6503 100644 --- a/src/main/drivers/serial_usb_vcp.c +++ b/src/main/drivers/serial_usb_vcp.c @@ -30,7 +30,7 @@ #include "common/utils.h" #include "drivers/io.h" -#include "pg/pg.h" + #include "pg/usb.h" #if defined(STM32F4) diff --git a/src/main/io/dashboard.c b/src/main/io/dashboard.c index 4aef02c07..b6672e60d 100644 --- a/src/main/io/dashboard.c +++ b/src/main/io/dashboard.c @@ -47,8 +47,6 @@ #include "common/typeconversion.h" #include "config/feature.h" -#include "pg/pg.h" -#include "pg/pg_ids.h" #include "pg/dashboard.h" #include "pg/rx.h"