Fix sensor IDs

This commit is contained in:
Lorenz Meier
2017-01-19 19:24:52 +01:00
committed by Lorenz Meier
parent 7d5cd02c70
commit 1134f1a868
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -543,8 +543,8 @@ BMP280::collect()
report.temperature = _T;
report.pressure = _P / 100.0f; // to mbar
/* TODO get device ID for sensor */
report.device_id = _device_id;
/* Get device ID */
report.device_id = _device_id.devid;
/* altitude calculations based on http://www.kansasflyer.org/index.asp?nav=Avi&sec=Alti&tab=Theory&pg=1 */