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
+1 -2
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)