summaryrefslogtreecommitdiffstats
path: root/libk8055/libk8055.cpp
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/libk8055.cpp
parent5ce542cf07a3db8b28cee5362802188ae9937631 (diff)
downloadk8055-cd429e12385410bc56b653585702ef8f77aaf5f5.zip
k8055-cd429e12385410bc56b653585702ef8f77aaf5f5.tar.gz
small cpp API typo fixes
Diffstat (limited to 'libk8055/libk8055.cpp')
-rw-r--r--libk8055/libk8055.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libk8055/libk8055.cpp b/libk8055/libk8055.cpp
index 2266a41..5c6aa2b 100644
--- a/libk8055/libk8055.cpp
+++ b/libk8055/libk8055.cpp
@@ -99,8 +99,8 @@ int K8055::ClearAnalogChannel( int channel ) {
return k8055_clear_analog_channel( &dev, channel );
}
-int K8055::ReadAnalogChannel( int channel_no ) {
- return k8055_read_analog_channel( &dev, channel_no );
+int K8055::ReadAnalogChannel( int channel ) {
+ return k8055_read_analog_channel( &dev, channel );
}
int K8055::WriteAnalogChannel( int channel, int data ) {
@@ -158,15 +158,15 @@ int K8055::ReadAllValues ( int* data1, int* data2, int* data3, int* data4, int*
return k8055_read_all_values( &dev, data1, data2, data3, data4, data5 );
}
-int K8055::ResetCounter( int counter_n ) {
- return k8055_reset_counter( &dev, counter_n );
+int K8055::ResetCounter( int counter ) {
+ return k8055_reset_counter( &dev, counter );
}
-int K8055::ReadCounter( int counter_n ) {
- return k8055_read_counter( &dev, counter_n );
+int K8055::ReadCounter( int counter ) {
+ return k8055_read_counter( &dev, counter );
}
-int K8055::SetCounterDebounceTime( int counter_n, int debounce_time ) {
- return k8055_set_counter_debounce_time( &dev, counter_n, debounce_time );
+int K8055::SetCounterDebounceTime( int counter, int debounce_time ) {
+ return k8055_set_counter_debounce_time( &dev, counter, debounce_time );
}