mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 18:31:13 +03:00
Added iGas interface
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
f28a6d2561
commit
e4f106a0c7
@ -244,8 +244,15 @@ int MHZ16::getGas()
|
||||
return gas;
|
||||
}
|
||||
|
||||
int MHZ16::getTemperature()
|
||||
float MHZ16::getConcentration()
|
||||
{
|
||||
getData();
|
||||
return gas;
|
||||
}
|
||||
|
||||
float MHZ16::getTemperature()
|
||||
{
|
||||
getData();
|
||||
return temp;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user