oryp6: fix battery LEDs

This commit is contained in:
Jeremy Soller
2020-06-24 09:16:14 -06:00
parent 4a291fb3a3
commit 0ba1276f96
3 changed files with 7 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ struct Gpio __code EC_EN = GPIO(B, 6); // renamed to SUSBC_EN
struct Gpio __code EC_RSMRST_N = GPIO(E, 5);
struct Gpio __code GC6_FB_EN = GPIO(J, 7);
struct Gpio __code LED_ACIN = GPIO(C, 7);
struct Gpio __code LED_BAT_CHG_N = GPIO(H, 5);
struct Gpio __code LED_BAT_CHG = GPIO(H, 5);
struct Gpio __code LED_BAT_FULL = GPIO(J, 0);
struct Gpio __code LED_PWR = GPIO(D, 0);
struct Gpio __code LID_SW_N = GPIO(B, 1);
@@ -49,7 +49,7 @@ void gpio_init() {
GPDRE = 0x08;
GPDRF = 0x40;
GPDRG = 0x40;
GPDRH = 0x20;
GPDRH = 0x00;
GPDRI = 0x20;
GPDRJ = 0x02;