From 3bea0233bccb0034c5a831e4b40f44c533738b2e Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Tue, 4 Nov 2014 19:13:21 +0000 Subject: [PATCH] gas: remove thresholdContext param from getSample() Signed-off-by: Brendan Le Foll --- src/gas/gas.cxx | 2 +- src/gas/gas.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gas/gas.cxx b/src/gas/gas.cxx index 555bdf3a..5ae91f1d 100644 --- a/src/gas/gas.cxx +++ b/src/gas/gas.cxx @@ -92,7 +92,7 @@ Gas::getSampledData (thresholdContext* ctx) { } int -Gas::getSample (thresholdContext* ctx) { +Gas::getSample () { return mraa_aio_read (m_gasCtx); } diff --git a/src/gas/gas.h b/src/gas/gas.h index d94c44f0..18ce111f 100644 --- a/src/gas/gas.h +++ b/src/gas/gas.h @@ -86,7 +86,7 @@ class Gas { * * @param ctx threshold context */ - virtual int getSample (thresholdContext* ctx); + virtual int getSample (); /** *