Skip to content

Commit

Permalink
Fixed PMU example
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Oct 5, 2024
1 parent 5336521 commit cf34927
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/PMU_Interrupt/PMU_Interrupt.ino
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,15 @@ void loop()
}

if (amoled.isBatteryConnect()) {
if (amoled.isBatChagerDoneIrq()) {
if (amoled.isBatChargeDoneIrq()) {
Serial.println("isBatChagerDone");
lv_label_set_text(label1, "isBatChagerDone");
}
if (amoled.isBatChagerStartIrq()) {
if (amoled.isBatChargeStartIrq()) {
Serial.println("isBatChagerStart");
lv_label_set_text(label1, "isBatChagerStart");
}
if (amoled.isChagerOverTimeoutIrq()) {
if (amoled.isChargeOverTimeoutIrq()) {
Serial.println("isChagerOverTimeout");
lv_label_set_text(label1, "isChagerOverTimeout");
}
Expand Down

0 comments on commit cf34927

Please sign in to comment.