Skip to content

Commit 30a54cc

Browse files
authored
Merge pull request #12038 from yarbcy/pr/qspi-fix
Cypress: Remove qspi_frequency() call.
2 parents e9cb9cb + 91e97a1 commit 30a54cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/cy_qspi_api.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ qspi_status_t qspi_free(qspi_t *obj)
3838

3939
qspi_status_t qspi_frequency(qspi_t *obj, int hz)
4040
{
41-
return CY_RSLT_SUCCESS == cyhal_qspi_set_frequency(&(obj->hal_qspi), (uint32_t)hz) ? QSPI_STATUS_OK : QSPI_STATUS_ERROR;
41+
/* Return OK since this API is not implemented in cy_hal */
42+
return QSPI_STATUS_OK;
4243
}
4344

4445
static inline cyhal_qspi_bus_width_t cyhal_qspi_convert_width(qspi_bus_width_t width)

0 commit comments

Comments
 (0)