From 69d9483291cdc7b36877b5b8f006d7029a68de44 Mon Sep 17 00:00:00 2001 From: Andrei Date: Tue, 30 May 2017 22:43:33 +0300 Subject: [PATCH] Add || DOXYGEN --- firmware/hw_layer/io_pins.cpp | 2 +- firmware/hw_layer/io_pins.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/hw_layer/io_pins.cpp b/firmware/hw_layer/io_pins.cpp index 50130968e8..106941d30e 100644 --- a/firmware/hw_layer/io_pins.cpp +++ b/firmware/hw_layer/io_pins.cpp @@ -90,7 +90,7 @@ iomode_t getInputMode(pin_input_mode_e mode) { } } -#if HAL_USE_ICU +#if HAL_USE_ICU || defined(__DOXYGEN__) void efiIcuStart(ICUDriver *icup, const ICUConfig *config) { efiAssertVoid((icup->state == ICU_STOP) || (icup->state == ICU_READY), "input already used?"); diff --git a/firmware/hw_layer/io_pins.h b/firmware/hw_layer/io_pins.h index f128fbd351..ab84f47fb7 100644 --- a/firmware/hw_layer/io_pins.h +++ b/firmware/hw_layer/io_pins.h @@ -58,7 +58,7 @@ void efiSetPadMode(const char *msg, brain_pin_e pin, iomode_t mode); bool efiReadPin(brain_pin_e pin); iomode_t getInputMode(pin_input_mode_e mode); -#if HAL_USE_ICU +#if HAL_USE_ICU || defined(__DOXYGEN__) void efiIcuStart(ICUDriver *icup, const ICUConfig *config); #endif /* HAL_USE_ICU */ #endif /* EFI_GPIO_HARDWARE */