mirror of
https://github.com/eclipse/upm.git
synced 2025-09-13 05:34:52 +03:00
java: corrected typo and documentation
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
2e5fbd0d54
commit
021c003ca8
@@ -49,7 +49,7 @@ int main()
|
|||||||
|
|
||||||
// Instantiate a OTP538U on analog pins A0 and A1
|
// Instantiate a OTP538U on analog pins A0 and A1
|
||||||
// A0 is used for the Ambient Temperature and A1 is used for the
|
// A0 is used for the Ambient Temperature and A1 is used for the
|
||||||
// Object tempewrature.
|
// Object temperature.
|
||||||
upm::OTP538U *temps = new upm::OTP538U(0, 1, OTP538U_AREF);
|
upm::OTP538U *temps = new upm::OTP538U(0, 1, OTP538U_AREF);
|
||||||
|
|
||||||
// Output ambient and object temperatures
|
// Output ambient and object temperatures
|
||||||
|
@@ -87,8 +87,6 @@ class Gas {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns one sample from the sensor
|
* Returns one sample from the sensor
|
||||||
*
|
|
||||||
* @param ctx Threshold context
|
|
||||||
*/
|
*/
|
||||||
virtual int getSample ();
|
virtual int getSample ();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user