Skip to content

Commit 948c8c7

Browse files
committed
modify astyle
1 parent 1bca44f commit 948c8c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

storage/blockdevice/COMPONENT_SPINAND/source/SPINANDBlockDevice.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ using namespace mbed;
5858
#define SPINAND_SECURE_BIT_ECC_EN 0x10 // On-die ECC enable
5959
#define SPINAND_SECURE_BIT_OTP_EN 0x40 //
6060
#define SPINAND_SECURE_BIT_OTP_PROT 0x80 //
61-
61+
6262
// Block Protection Register Bits
6363
#define SPINAND_BLOCK_PROT_BIT_SP 0x01
6464
#define SPINAND_BLOCK_PROT_BIT_COMPLE 0x02
@@ -521,7 +521,7 @@ int SPINANDBlockDevice::_set_quad_enable()
521521
NULL, 0, (char *) &secur_reg, 1)) {
522522
tr_error("Reading Security Register failed");
523523
}
524-
524+
525525
secur_reg |= SPINAND_SECURE_BIT_QE;
526526

527527
if (QSPI_STATUS_OK != _qspi_send_general_command(SPINAND_INST_SET_FEATURE, FEATURES_ADDR_SECURE_OTP,
@@ -553,7 +553,7 @@ int SPINANDBlockDevice::_clear_block_protection()
553553
NULL, 0, (char *) &block_protection_reg, 1)) {
554554
tr_error("Reading Block Protection Register failed");
555555
}
556-
556+
557557
block_protection_reg &= ~SPINAND_BLOCK_PROT_BIT_BP_MASK;
558558

559559
if (QSPI_STATUS_OK != _qspi_send_general_command(SPINAND_INST_SET_FEATURE, FEATURES_ADDR_BLOCK_PROTECTION,

0 commit comments

Comments
 (0)