diff --git a/nrf5/hal/hal_qspie.h b/nrf5/hal/hal_qspie.h index 99c1c4cee9..85b9a6021f 100644 --- a/nrf5/hal/hal_qspie.h +++ b/nrf5/hal/hal_qspie.h @@ -27,6 +27,8 @@ #ifndef HAL_QSPIE_H__ #define HAL_QSPIE_H__ +#ifdef HAL_QSPIE_MODULE_ENABLED + #if NRF52840_XXAA #include @@ -60,7 +62,7 @@ typedef enum { typedef enum { HAL_QSPI_DATA_LINE_SINGLE, HAL_QSPI_DATA_LINE_DUAL, - HAL_QSPI_DATA_LINE_QUAL + HAL_QSPI_DATA_LINE_QUAD } hal_qspi_data_line_t; @@ -103,4 +105,6 @@ void hal_qspi_master_tx_rx(NRF_QSPI_Type * p_instance, const uint8_t * tx_data, uint8_t * rx_data); +#endif // HAL_QSPIE_MODULE_ENABLED + #endif // HAL_QSPIE_H__