From 818ad73ae71af760ae682dfcecd607190222c589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kope=C4=87?= Date: Wed, 6 Dec 2023 11:16:56 +0100 Subject: [PATCH] tps65987: improve comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Kopeć --- src/board/system76/common/usbpd/tps65987.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/board/system76/common/usbpd/tps65987.c b/src/board/system76/common/usbpd/tps65987.c index 179af3d6f..a634361ed 100644 --- a/src/board/system76/common/usbpd/tps65987.c +++ b/src/board/system76/common/usbpd/tps65987.c @@ -165,9 +165,8 @@ static void usbpd_configure(void) { // Clear dead battery flag usbpd_send_cmd("DBfg", NULL, 0); - // Select switch PP3 + // System ready to sink power via PP3 path = 2; - // System ready to sink power usbpd_send_cmd("SRDY", &path, 1); res = i2c_get(&I2C_USBPD, USBPD_ADDRESS, REG_GLOBAL_CONFIGURATION, reg, sizeof(reg)); @@ -279,7 +278,7 @@ void usbpd_disable_charging(void) { void usbpd_enable_charging(void) { DEBUG("USBPD ENABLE CHARGING\n"); - // Select switch PP3 + // System ready to sink power via PP3 uint8_t path = 2; usbpd_send_cmd("SRDY", &path, 1); }