added 10x for Humidity

pull/85/head
alanbjohnston 5 years ago committed by GitHub
parent 3ac7b8d294
commit e82022c45e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1535,7 +1535,7 @@ void get_tlm_fox() {
encodeA(b_max, 48 + head_offset, (int)(sensor_max[XS2]) + 2048);
encodeB(b_max, 49 + head_offset, (int)(sensor_max[XS3] * 100 + 0.5) + 2048);
encodeB(b_max, 10 + head_offset, (int)(sensor_max[TEMP] * 10 + 0.5));
encodeA(b_max, 45 + head_offset, (int)(sensor_max[HUMI] + 0.5));
encodeA(b_max, 45 + head_offset, (int)(sensor_max[HUMI] * 10 + 0.5));
}
else
{
@ -1592,7 +1592,7 @@ void get_tlm_fox() {
encodeA(b_min, 48 + head_offset, (int)(sensor_min[XS2]) + 2048);
encodeB(b_min, 49 + head_offset, (int)(sensor_min[XS3] * 100 + 0.5) + 2048);
encodeB(b_min, 10 + head_offset, (int)(sensor_min[TEMP] * 10 + 0.5));
encodeA(b_min, 45 + head_offset, (int)(sensor_min[HUMI] + 0.5));
encodeA(b_min, 45 + head_offset, (int)(sensor_min[HUMI] * 10 + 0.5));
}
else
{

Loading…
Cancel
Save

Powered by TurnKey Linux.