Skip to content

Commit 3ca0e08

Browse files
committed
Enable all the needed ldo's
1 parent c504bc2 commit 3ca0e08

File tree

1 file changed

+3
-0
lines changed
  • ports/espressif/boards/lilygo_twatch_s3

1 file changed

+3
-0
lines changed

ports/espressif/boards/lilygo_twatch_s3/board.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ static void enable_ldo(busio_i2c_obj_t *i2c, uint8_t ldo) {
7575
// Init the AXP2101 by hand as to not include XPOWERS lib.
7676
static void pmic_init(busio_i2c_obj_t *i2c) {
7777
enable_ldo(i2c, 0);
78+
enable_ldo(i2c, 1);
79+
enable_ldo(i2c, 2);
80+
enable_ldo(i2c, 3);
7881
enable_ldo(i2c, 5);
7982
write_register8(i2c, 0x18, 0x0F);
8083
write_register8(i2c, 0x27, 0x1F);

0 commit comments

Comments
 (0)