File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
ports/espressif/boards/m5stack_cores3 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,9 +114,9 @@ static bool axp2101_init(busio_i2c_obj_t *i2c) {
114
114
int rc ;
115
115
uint8_t write_buf [2 ];
116
116
117
- // 0x90 = 0b1011_1001 // LDOS ON/OFF control 0
117
+ // 0x90 = 0b1011_1111 // LDOS ON/OFF control 0
118
118
write_buf [0 ] = 0x90 ;
119
- write_buf [1 ] = 0b10111001 ;
119
+ write_buf [1 ] = 0b10111111 ;
120
120
rc = common_hal_busio_i2c_write (i2c , AXP2101_I2C_ADDRESS , write_buf , sizeof (write_buf ));
121
121
if (rc != 0 ) {
122
122
return false;
@@ -146,7 +146,7 @@ static bool axp2101_init(busio_i2c_obj_t *i2c) {
146
146
return false;
147
147
}
148
148
149
- // 0x95, 0x1C // ALDO3 set to 3.3v for TF card slot
149
+ // 0x95, 0x1C // ALDO4 set to 3.3v for TF card slot
150
150
write_buf [0 ] = 0x95 ;
151
151
write_buf [1 ] = 0x1C ;
152
152
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