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 (); /** *