summaryrefslogtreecommitdiffstats
path: root/libk8055/k8055++.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-03-01 11:36:25 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-03-01 11:36:25 +0100
commitcd429e12385410bc56b653585702ef8f77aaf5f5 (patch)
treeeac1bb7f8221909b196e4186a80cc3f4c02be3a3 /libk8055/k8055++.h
parent5ce542cf07a3db8b28cee5362802188ae9937631 (diff)
downloadk8055-cd429e12385410bc56b653585702ef8f77aaf5f5.zip
k8055-cd429e12385410bc56b653585702ef8f77aaf5f5.tar.gz
small cpp API typo fixes
Diffstat (limited to 'libk8055/k8055++.h')
-rw-r--r--libk8055/k8055++.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libk8055/k8055++.h b/libk8055/k8055++.h
index 87c9b9b..b924f65 100644
--- a/libk8055/k8055++.h
+++ b/libk8055/k8055++.h
@@ -53,7 +53,7 @@ class K8055 {
int SetAnalogChannel( int channel );
int ClearAnalogChannel( int channel );
- int ReadAnalogChannel( int channel_no );
+ int ReadAnalogChannel( int channel );
int WriteAnalogChannel( int channel, int data );
int SetAllAnalog();
@@ -73,10 +73,10 @@ class K8055 {
int SetAllValues( int digital_data, int ad_data1, int ad_data2 );
int ReadAllValues ( int* data1, int* data2, int* data3, int* data4, int* data5 );
- int ResetCounter( int counter_n );
- int ReadCounter( int counter_n );
+ int ResetCounter( int counter );
+ int ReadCounter( int counter );
- int SetCounterDebounceTime( int counter_n, int debounce_time );
+ int SetCounterDebounceTime( int counter, int debounce_time );
private:
struct k8055_dev dev;