mirror of https://github.com/ARMmbed/mbed-os.git
QSPI STM32: fix return value in frequency
parent
fca7a85868
commit
b708cfbfc7
|
@ -176,7 +176,7 @@ qspi_status_t qspi_frequency(qspi_t *obj, int hz)
|
|||
if (HAL_QSPI_Init(&obj->handle) != HAL_OK) {
|
||||
status = QSPI_STATUS_ERROR;
|
||||
}
|
||||
return QSPI_STATUS_OK;
|
||||
return status;
|
||||
}
|
||||
|
||||
qspi_status_t qspi_write(qspi_t *obj, const qspi_command_t *command, const void *data, size_t *length)
|
||||
|
|
Loading…
Reference in New Issue