mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-06 02:27:33 +00:00
Fixes to make I2C work for SMT32
This commit is contained in:
@@ -3,8 +3,13 @@
|
||||
|
||||
#include <sta/config.hpp>
|
||||
#ifdef STA_PLATFORM_STM32
|
||||
# include <sta/devices/stm32/hal.hpp>
|
||||
# ifdef HAL_ADC_MODULE_ENABLED
|
||||
# define STA_STM32_ADC_ENABLED
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include <sta/devices/stm32/hal.hpp>
|
||||
#if defined(STA_STM32_ADC_ENABLED) || defined(DOXYGEN)
|
||||
|
||||
namespace sta
|
||||
{
|
||||
@@ -34,6 +39,6 @@ namespace sta
|
||||
};
|
||||
} // namespace sta
|
||||
|
||||
#endif // STA_PLATFORM_STM32
|
||||
#endif // STA_STM32_ADC_ENABLED
|
||||
|
||||
#endif // STA_CORE_STM32_ADC_HPP
|
||||
|
Reference in New Issue
Block a user