From 507e272e33c6048b5818dc1ea95d5d6ab31fa803 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 9 Jan 2024 21:26:20 +0100 Subject: [PATCH] deleted SetPeripheralsPower(true) statement which caused externally powered devices to crash --- src/AXP192.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/AXP192.cpp b/src/AXP192.cpp index 5c2b4957..8143d164 100644 --- a/src/AXP192.cpp +++ b/src/AXP192.cpp @@ -59,9 +59,7 @@ void AXP192::begin() { delay(100); // I2C_WriteByteDataAt(0X15,0XFE,0XFF); - SetPeripherialsPower(true); - - // axp: check v-bus status + // axp: check v-bus status & enable peripherals power (EXTEN) if 5V Out required if (Read8bit(0x00) & 0x08) { Write1Byte(0x30, Read8bit(0x30) | 0x80); // if v-bus can use, disable M-Bus 5V output to input