diff options
Diffstat (limited to 'os/hal/src/hal_qspi.c')
-rw-r--r-- | os/hal/src/hal_qspi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/src/hal_qspi.c b/os/hal/src/hal_qspi.c index dd091498b..cca5dd747 100644 --- a/os/hal/src/hal_qspi.c +++ b/os/hal/src/hal_qspi.c @@ -124,7 +124,8 @@ void qspiStop(QSPIDriver *qspip) { "invalid state");
qspi_lld_stop(qspip);
- qspip->state = QSPI_STOP;
+ qspip->config = NULL;
+ qspip->state = QSPI_STOP;
osalSysUnlock();
}
|