Skip to content

Commit fcbf16f

Browse files
chiararuggerifacchinm
authored andcommitted
Proposed lowercase name for companion callback in sketch
1 parent 10471dd commit fcbf16f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/TianStandby/TianStandby.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818
#define MIPS_PIN 32
1919

20-
void MIPS_PM(bool sleep) {
20+
void MipsPM(bool sleep) {
2121
pinMode(MIPS_PIN, OUTPUT);
2222
digitalWrite(MIPS_PIN, sleep ? LOW: HIGH);
2323
}
2424

2525
void setup() {
2626
pinMode(LED_BUILTIN, OUTPUT);
27-
LowPower.companionLowPowerCallback(MIPS_PM);
27+
LowPower.companionLowPowerCallback(MipsPM);
2828
// Uncomment this function if you wish to attach function dummy when RTC wakes up the chip
2929
LowPower.attachInterruptWakeup(RTC_ALARM_WAKEUP, onWakeup, CHANGE);
3030
}

0 commit comments

Comments
 (0)