kopia lustrzana https://github.com/bristol-seds/pico-tracker
[pressure-temperature] only when baro in use
rodzic
17e92681c9
commit
bc625f9778
|
@ -33,8 +33,10 @@ __verification__ void pressure_temperature_tc(void) {
|
|||
* Use the input parameters to run the test case. Populate the
|
||||
* results structure at the end
|
||||
*/
|
||||
#ifdef USE_BAROMETER
|
||||
struct barometer* b = get_barometer();
|
||||
|
||||
pressure_temperature_tc_results.pressure = (float)b->pressure;
|
||||
pressure_temperature_tc_results.temperature = (float)b->temperature;
|
||||
#endif
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue