mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-06 02:27:33 +00:00
Add error if GPIO disabled
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
#include <sta/config.hpp>
|
||||
#ifdef STA_HAL_SPI_ENABLE
|
||||
|
||||
#ifndef STA_HAL_GPIO_ENABLE
|
||||
#error "HAL GPIO required"
|
||||
#endif // !STA_HAL_GPIO_ENABLE
|
||||
|
||||
#include <sta/spi_device.hpp>
|
||||
#include <sta/hal/gpio_pin.hpp>
|
||||
|
||||
|
Reference in New Issue
Block a user