Skip to content

Commit dd09492

Browse files
committed
Enable camera and SD power supply
1 parent 7e57fa8 commit dd09492

File tree

1 file changed

+3
-3
lines changed
  • ports/espressif/boards/m5stack_cores3

1 file changed

+3
-3
lines changed

ports/espressif/boards/m5stack_cores3/board.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ static bool axp2101_init(busio_i2c_obj_t *i2c) {
114114
int rc;
115115
uint8_t write_buf[2];
116116

117-
// 0x90 = 0b1011_1001 // LDOS ON/OFF control 0
117+
// 0x90 = 0b1011_1111 // LDOS ON/OFF control 0
118118
write_buf[0] = 0x90;
119-
write_buf[1] = 0b10111001;
119+
write_buf[1] = 0b10111111;
120120
rc = common_hal_busio_i2c_write(i2c, AXP2101_I2C_ADDRESS, write_buf, sizeof(write_buf));
121121
if (rc != 0) {
122122
return false;
@@ -146,7 +146,7 @@ static bool axp2101_init(busio_i2c_obj_t *i2c) {
146146
return false;
147147
}
148148

149-
// 0x95, 0x1C // ALDO3 set to 3.3v for TF card slot
149+
// 0x95, 0x1C // ALDO4 set to 3.3v for TF card slot
150150
write_buf[0] = 0x95;
151151
write_buf[1] = 0x1C;
152152
rc = common_hal_busio_i2c_write(i2c, AXP2101_I2C_ADDRESS, write_buf, sizeof(write_buf));

0 commit comments

Comments
 (0)