Skip to content

Commit 6fd66e2

Browse files
committed
getError() --> getErrorMessage()
1 parent d8b830c commit 6fd66e2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/LEVDisplay/LEVDisplay.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ void levSpeedSystemInformation1Handler(LevSpeedSystemInformation1& msg, uintptr_
101101
Serial.print("Gear state: ");
102102
Serial.println(msg.getGearState());
103103
Serial.print("Gear error: ");
104-
Serial.println(msg.getError());
104+
Serial.println(msg.getErrorMessage());
105105
Serial.print("Speed: ");
106106
Serial.print(msg.getSpeed()/10);
107107
Serial.print(".");

src/Profiles/Lev/DataPages/RX/ANTPLUS_LevSpeedSystemInformation1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ uint8_t LevSpeedSystemInformation1::getGearState()
2525
return getData(4);
2626
}
2727

28-
uint8_t LevSpeedSystemInformation1::getError()
28+
uint8_t LevSpeedSystemInformation1::getErrorMessage()
2929
{
3030
return getData(5);
3131
}

src/Profiles/Lev/DataPages/RX/ANTPLUS_LevSpeedSystemInformation1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class LevSpeedSystemInformation1 : public LevBaseMainDataPage {
1010
uint8_t getTravelModeState();
1111
uint8_t getSystemState();
1212
uint8_t getGearState();
13-
uint8_t getError();
13+
uint8_t getErrorMessage();
1414
uint16_t getSpeed(); // in 1/10 km/h
1515
};
1616

0 commit comments

Comments
 (0)