Fix typos.
This commit is contained in:
parent
480314e8d4
commit
27ce6c08b2
@ -156,7 +156,7 @@ uint8_t ETCPLPP::addBarometricPressure(uint8_t channel, float hpa)
|
|||||||
return cursor;
|
return cursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t ETCLPP::addBatteryVoltage(uint8_t channel, float voltage)
|
uint8_t ETCPLPP::addBatteryVoltage(uint8_t channel, float voltage)
|
||||||
{
|
{
|
||||||
|
|
||||||
if ((cursor + LPP_BATTERY_VOLTAGE_SIZE) > maxsize)
|
if ((cursor + LPP_BATTERY_VOLTAGE_SIZE) > maxsize)
|
||||||
@ -173,7 +173,7 @@ uint8_t ETCLPP::addBatteryVoltage(uint8_t channel, float voltage)
|
|||||||
return cursor;
|
return cursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t ETCLPP::addBatteryStatus(uint8_t channel, uint8_t percent)
|
uint8_t ETCPLPP::addBatteryStatus(uint8_t channel, uint8_t percent)
|
||||||
{
|
{
|
||||||
|
|
||||||
if ((cursor + LPP_BATTERY_STATUS_SIZE) > maxsize)
|
if ((cursor + LPP_BATTERY_STATUS_SIZE) > maxsize)
|
||||||
@ -188,7 +188,7 @@ uint8_t ETCLPP::addBatteryStatus(uint8_t channel, uint8_t percent)
|
|||||||
return cursor;
|
return cursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t ETCLPP::addStatus(uint8_t channel, uint16_t status)
|
uint8_t ETCPLPP::addStatus(uint8_t channel, uint16_t status)
|
||||||
{
|
{
|
||||||
|
|
||||||
if ((cursor + LPP_STATUS_SIZE) > maxsize)
|
if ((cursor + LPP_STATUS_SIZE) > maxsize)
|
||||||
|
Loading…
Reference in New Issue
Block a user