mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-26 01:35:16 +03:00
Fixes #2542
This commit is contained in:
parent
62ae7ef2bd
commit
98b4d26676
2 changed files with 4 additions and 2 deletions
|
@ -520,13 +520,12 @@ void setTelemetryValue(TelemetryProtocol protocol, uint16_t id, uint8_t instance
|
|||
}
|
||||
}
|
||||
|
||||
void TelemetrySensor::init(const char *label, uint8_t unit, uint8_t prec)
|
||||
void TelemetrySensor::init(const char * label, uint8_t unit, uint8_t prec)
|
||||
{
|
||||
memclear(this->label, TELEM_LABEL_LEN);
|
||||
strncpy(this->label, label, TELEM_LABEL_LEN);
|
||||
this->unit = unit;
|
||||
this->prec = prec;
|
||||
// this->inputFlags = inputFlags;
|
||||
}
|
||||
|
||||
void TelemetrySensor::init(uint16_t id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue