Skip to content

Commit 10bb45f

Browse files
committed
Modify the astyle
1 parent 3b8265d commit 10bb45f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TESTS/mbed_hal/ospi/ospi_test_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void OspiCommand::build(int instruction, int address, int alt)
8787
_cmd.dummy_count = 4;
8888
} else if ((instruction == OSPI_CMD_READ_OPI) || (instruction == OSPI_CMD_READ_DOPI)) {
8989
_cmd.dummy_count = 20;
90-
} else {
90+
} else {
9191
_cmd.dummy_count = 0;
9292
}
9393
}

components/storage/blockdevice/COMPONENT_OSPIF/OSPIFBlockDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1772,7 +1772,7 @@ int OSPIFBlockDevice::_ospi_send_read_sfdp_command(bd_addr_t addr, void *rx_buff
17721772
if (_need_define_sfdp_para) {
17731773
if (addr < 30) {
17741774
for (uint8_t i_ind = 0; i_ind < rx_len; i_ind++) {
1775-
*(rx_buffer_tmp + i_ind) = _sfdp_head_table[i_ind+addr];
1775+
*(rx_buffer_tmp + i_ind) = _sfdp_head_table[i_ind + addr];
17761776
}
17771777
} else if (addr == 0x30) {
17781778
for (uint8_t i_ind = 0; i_ind < rx_len; i_ind++) {

0 commit comments

Comments
 (0)