QSPI: fix alt size NONE instead 0

pull/7783/head
Martin Kojtal 2017-12-06 13:16:09 +00:00 committed by Maciej Bocianski
parent 910f1a8884
commit b71f2a15ea
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ void QSPI::_build_qspi_command(int instruction, int address, int alt)
_qspi_command.alt.value = alt; _qspi_command.alt.value = alt;
} else { } else {
//In the case alt phase is absent, set the alt size to be NONE //In the case alt phase is absent, set the alt size to be NONE
_qspi_command.alt.value = 0; _qspi_command.alt.size = QSPI_CFG_ALT_SIZE_NONE;
} }
_qspi_command.dummy_count = _num_dummy_cycles; _qspi_command.dummy_count = _num_dummy_cycles;