Procházet zdrojové kódy

Accurately set DPM minimum current

I took an accurate reading of the current consumed by the PD Buddy Sink
in various states, and found that the lowest current I could safely set
as the amount it requests when the output is turned off was 30 mA.
I therefore changed it to request this lower current to avoid asking for
more than we need.

(cherry picked from commit 88766783de)
Clara Hobbs před 6 roky
rodič
revize
87901c0091
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/device_policy_manager.c

+ 1
- 1
src/device_policy_manager.c Zobrazit soubor

@@ -29,7 +29,7 @@
29 29
 
30 30
 
31 31
 /* The current draw when the output is disabled */
32
-#define DPM_MIN_CURRENT PD_MA2PDI(100)
32
+#define DPM_MIN_CURRENT PD_MA2PDI(30)
33 33
 
34 34
 
35 35
 /*

Loading…
Zrušit
Uložit