Skip to content

Commit 7cd5c6d

Browse files
authored
Fix SD card voltage
Fix SD card voltage
2 parents c8609ba + d9e9bee commit 7cd5c6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AXP2101.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ void AXP2101::coreS3_init() {
268268
write1Byte(0x69, 0b00110101); // AXP CHG_LED
269269
// write1Byte(0x97, (0b11110 - 2));
270270
write1Byte(0x90, 0xBF); // AXP ALDO~4,BLDO0~2,DIDO1 Enable
271-
write1Byte(0x95, 0x28); // AXP ALDO4 voltage
271+
write1Byte(0x95, 0b00011100); // AXP ALDO4 voltage / SD card / 3.3 V
272272

273273
write1Byte(AW9523_ADDR, 0x02, 0b00000101); // P0
274274
write1Byte(AW9523_ADDR, 0x03, 0b00000011);
@@ -348,4 +348,4 @@ void AXP2101::coreS3_VBUS_boost(bool state) {
348348
// 7
349349
write1Byte(0xF0, 0x00);
350350
}
351-
}
351+
}

0 commit comments

Comments
 (0)