File tree Expand file tree Collapse file tree
ports/espressif/boards/m5stack_cores3 Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ));
You can’t perform that action at this time.
0 commit comments