Pārlūkot izejas kodu

gas: remove thresholdContext param from getSample()

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll 10 gadus atpakaļ
vecāks
revīzija
3bea0233bc
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1
    1
      src/gas/gas.cxx
  2. 1
    1
      src/gas/gas.h

+ 1
- 1
src/gas/gas.cxx Parādīt failu

@@ -92,7 +92,7 @@ Gas::getSampledData (thresholdContext* ctx) {
92 92
 }
93 93
 
94 94
 int
95
-Gas::getSample (thresholdContext* ctx) {
95
+Gas::getSample () {
96 96
     return mraa_aio_read (m_gasCtx);
97 97
 }
98 98
 

+ 1
- 1
src/gas/gas.h Parādīt failu

@@ -86,7 +86,7 @@ class Gas {
86 86
          *
87 87
          * @param ctx threshold context
88 88
          */
89
-        virtual int getSample (thresholdContext* ctx);
89
+        virtual int getSample ();
90 90
 
91 91
         /**
92 92
          *