mirror of https://github.com/rusefi/rusefi-1.git
reducing code duplication
This commit is contained in:
parent
a093a839be
commit
4dbb77415a
|
@ -10,6 +10,14 @@
|
||||||
#include "efi_gpio.h"
|
#include "efi_gpio.h"
|
||||||
#include "expected.h"
|
#include "expected.h"
|
||||||
|
|
||||||
|
#ifdef STM32F4XX
|
||||||
|
#include "stm32f4xx_hal_flash.h"
|
||||||
|
#elif defined(STM32F7XX)
|
||||||
|
#include "stm32f7xx_hal_flash.h"
|
||||||
|
#else
|
||||||
|
#include "stm32h7xx_hal_flash.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef EFI_PIN_ADC9
|
#ifndef EFI_PIN_ADC9
|
||||||
#define EFI_PIN_ADC9 GPIOB_1
|
#define EFI_PIN_ADC9 GPIOB_1
|
||||||
#endif /* EFI_PIN_ADC9 */
|
#endif /* EFI_PIN_ADC9 */
|
||||||
|
|
Loading…
Reference in New Issue