mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
gas: remove thresholdContext param from getSample()
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
parent
b1da85f437
commit
3bea0233bc
@ -92,7 +92,7 @@ Gas::getSampledData (thresholdContext* ctx) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
Gas::getSample (thresholdContext* ctx) {
|
Gas::getSample () {
|
||||||
return mraa_aio_read (m_gasCtx);
|
return mraa_aio_read (m_gasCtx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ class Gas {
|
|||||||
*
|
*
|
||||||
* @param ctx threshold context
|
* @param ctx threshold context
|
||||||
*/
|
*/
|
||||||
virtual int getSample (thresholdContext* ctx);
|
virtual int getSample ();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user