mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12038 from yarbcy/pr/qspi-fix
Cypress: Remove qspi_frequency() call.pull/12052/head
commit
30a54cc18c
|
@ -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