Skip to content

Commit ce90bae

Browse files
committed
Fix new power management functions not being in the correct namespace
1 parent 717c51b commit ce90bae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/hackair.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,14 @@ void hackAIR::clearData(hackAirData &data) {
142142
data.battery = 0;
143143
}
144144

145-
void enablePowerControl() {
145+
void hackAIR::enablePowerControl() {
146146
pinMode(A2, OUTPUT);
147147
}
148148

149-
void turnOn() {
149+
void hackAIR::turnOn() {
150150
digitalWrite(A2, HIGH);
151151
}
152152

153-
void turnOff() {
153+
void hackAIR::turnOff() {
154154
digitalWrite(A2, LOW);
155155
}

0 commit comments

Comments
 (0)