mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-02 17:31:53 +00:00
Add error if GPIO disabled
This commit is contained in:
parent
1ccc15cc40
commit
182fbc3ac3
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user