ソースを参照

gas: remove thresholdContext param from getSample()

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll 10 年 前
コミット
3bea0233bc
共有2 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 1
    1
      src/gas/gas.cxx
  2. 1
    1
      src/gas/gas.h

+ 1
- 1
src/gas/gas.cxx ファイルの表示

@@ -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 ファイルの表示

@@ -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
          *