mirror of https://github.com/ARMmbed/mbed-os.git
Cypress: Remove qspi_frequency() call.
cy_qspi_frequency is not implemented. This change is made because for compatibility reason with upcoming cy_hal changes.pull/12038/head
parent
e9cb9cb014
commit
91e97a17d7
|
@ -38,7 +38,8 @@ qspi_status_t qspi_free(qspi_t *obj)
|
|||
|
||||
qspi_status_t qspi_frequency(qspi_t *obj, int hz)
|
||||
{
|
||||
return CY_RSLT_SUCCESS == cyhal_qspi_set_frequency(&(obj->hal_qspi), (uint32_t)hz) ? QSPI_STATUS_OK : QSPI_STATUS_ERROR;
|
||||
/* Return OK since this API is not implemented in cy_hal */
|
||||
return QSPI_STATUS_OK;
|
||||
}
|
||||
|
||||
static inline cyhal_qspi_bus_width_t cyhal_qspi_convert_width(qspi_bus_width_t width)
|
||||
|
|
Loading…
Reference in New Issue