Skip to content

Commit 643a926

Browse files
authored
Update SPINANDBlockDevice.cpp
Modify astyle
1 parent ce2c0a2 commit 643a926

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

storage/blockdevice/COMPONENT_SPINAND/source/SPINANDBlockDevice.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -648,11 +648,11 @@ qspi_status_t SPINANDBlockDevice::_qspi_send_read_command(qspi_inst_t read_inst,
648648

649649
qspi_bus_width_t data_width;
650650
if (read_inst == SPINAND_INST_READ_CACHE) {
651-
data_width = QSPI_CFG_BUS_SINGLE;
651+
data_width = QSPI_CFG_BUS_SINGLE;
652652
} else if (read_inst == SPINAND_INST_READ_CACHE2) {
653-
data_width = QSPI_CFG_BUS_DUAL;
653+
data_width = QSPI_CFG_BUS_DUAL;
654654
} else if (read_inst == SPINAND_INST_READ_CACHE4) {
655-
data_width = QSPI_CFG_BUS_QUAD;
655+
data_width = QSPI_CFG_BUS_QUAD;
656656
}
657657

658658
// Send read command to device driver
@@ -714,9 +714,9 @@ qspi_status_t SPINANDBlockDevice::_qspi_send_program_command(qspi_inst_t prog_in
714714
qspi_bus_width_t data_width;
715715

716716
if (prog_inst == SPINAND_INST_PP_LOAD) {
717-
data_width = QSPI_CFG_BUS_SINGLE;
717+
data_width = QSPI_CFG_BUS_SINGLE;
718718
} else if (prog_inst == SPINAND_INST_4PP_LOAD) {
719-
data_width = QSPI_CFG_BUS_QUAD;
719+
data_width = QSPI_CFG_BUS_QUAD;
720720
}
721721

722722
// Program load commands need 16 bit row address

0 commit comments

Comments
 (0)