diff options
Diffstat (limited to 'watch-library')
| -rw-r--r-- | watch-library/config/hpl_sercom_config.h | 4 | ||||
| -rw-r--r-- | watch-library/hw/driver_init.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/watch-library/config/hpl_sercom_config.h b/watch-library/config/hpl_sercom_config.h index a0eb1206..6df4b08e 100644 --- a/watch-library/config/hpl_sercom_config.h +++ b/watch-library/config/hpl_sercom_config.h @@ -143,7 +143,7 @@ // Enable configuration of module #ifndef CONF_SERCOM_3_SPI_ENABLE -#define CONF_SERCOM_3_SPI_ENABLE 0 +#define CONF_SERCOM_3_SPI_ENABLE 1 #endif // Set module in SPI Master mode @@ -180,7 +180,7 @@ // <e> Advanced Configuration // <id> spi_master_advanced #ifndef CONF_SERCOM_3_SPI_ADVANCED -#define CONF_SERCOM_3_SPI_ADVANCED 0 +#define CONF_SERCOM_3_SPI_ADVANCED 1 #endif // <o> Dummy byte <0x00-0x1ff> diff --git a/watch-library/hw/driver_init.h b/watch-library/hw/driver_init.h index 002f07aa..fc6cc208 100644 --- a/watch-library/hw/driver_init.h +++ b/watch-library/hw/driver_init.h @@ -32,6 +32,7 @@ extern "C" { #include <hal_sleep.h> #include <hal_ext_irq.h> #include <hal_i2c_m_sync.h> +#include <hal_spi_m_sync.h> #include <hal_delay.h> #include <hal_slcd_sync.h> |
