Use correct not-implemented value for Voltage/Temp

This commit is contained in:
Andres Amaya Garcia 2015-11-02 16:36:18 +00:00
parent 058243f372
commit 4fe124f203
2 changed files with 2 additions and 2 deletions

View file

@ -215,7 +215,7 @@ public:
DBG("Setting Default TLM Data, version = %d, advPeriodInMind= %f", tlmVersionIn, advPeriodInSec);
defaultTlmVersion = tlmVersionIn;
TlmBatteryVoltage = 0;
TlmBeaconTemp = 0;
TlmBeaconTemp = 0x8000;
TlmPduCount = 0;
TlmTimeSinceBoot = 0;
defaultTlmAdvPeriod = advPeriodInSec;

View file

@ -237,7 +237,7 @@ public:
void setTLMFrameData(uint8_t version = 0,
float advPeriod = 60.0f,
uint16_t batteryVoltage = 0,
uint16_t beaconTemp = 0,
uint16_t beaconTemp = 0x8000,
uint32_t pduCount = 0,
uint32_t timeSinceBoot = 0) {
if (0.0f == advPeriod) {