From 021c003ca849480d05971b2782cfb05a55c7e8e6 Mon Sep 17 00:00:00 2001 From: Stefan Andritoiu Date: Mon, 7 Sep 2015 19:24:02 +0300 Subject: [PATCH] java: corrected typo and documentation Signed-off-by: Stefan Andritoiu Signed-off-by: Mihai Tudor Panu --- examples/c++/otp538u.cxx | 2 +- src/gas/gas.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/c++/otp538u.cxx b/examples/c++/otp538u.cxx index 2de47ba3..ea6e3b32 100644 --- a/examples/c++/otp538u.cxx +++ b/examples/c++/otp538u.cxx @@ -49,7 +49,7 @@ int main() // Instantiate a OTP538U on analog pins A0 and A1 // 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); // Output ambient and object temperatures diff --git a/src/gas/gas.h b/src/gas/gas.h index dbc68bbb..50e21679 100644 --- a/src/gas/gas.h +++ b/src/gas/gas.h @@ -87,8 +87,6 @@ class Gas { /** * Returns one sample from the sensor - * - * @param ctx Threshold context */ virtual int getSample ();