mirror of
https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library.git
synced 2026-02-20 01:21:25 +01:00
Merge pull request #185 from codefaux/master
Typo: bool AXP20X_Class::isPEKLongtPressIRQ()
This commit is contained in:
@@ -622,7 +622,7 @@ void loop()
|
||||
#ifdef LILYGO_WATCH_HAS_BACKLIGHT
|
||||
twatch->bl->isOn() ? twatch->bl->off() : twatch->bl->adjust(DEFAULT_BRIGHTNESS);
|
||||
#endif
|
||||
} else if (power->isPEKLongtPressIRQ()) {
|
||||
} else if (power->isPEKLongPressIRQ()) {
|
||||
|
||||
Serial.println("enter power off!!!!");
|
||||
/**
|
||||
|
||||
@@ -753,7 +753,7 @@ bool AXP20X_Class::isPEKShortPressIRQ()
|
||||
return (bool)(_irq[2] & BIT_MASK(1));
|
||||
}
|
||||
|
||||
bool AXP20X_Class::isPEKLongtPressIRQ()
|
||||
bool AXP20X_Class::isPEKLongPressIRQ()
|
||||
{
|
||||
return (bool)(_irq[2] & BIT_MASK(0));
|
||||
}
|
||||
|
||||
@@ -608,7 +608,7 @@ public:
|
||||
bool isBattTempHighIRQ();
|
||||
|
||||
bool isPEKShortPressIRQ();
|
||||
bool isPEKLongtPressIRQ();
|
||||
bool isPEKLongPressIRQ();
|
||||
bool isTimerTimeoutIRQ();
|
||||
|
||||
//! Group4 ADC data
|
||||
|
||||
Reference in New Issue
Block a user