1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-26 01:35:16 +03:00
This commit is contained in:
bsongis 2015-07-23 18:34:32 +02:00
parent 62ae7ef2bd
commit 98b4d26676
2 changed files with 4 additions and 2 deletions

View file

@ -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)