summaryrefslogtreecommitdiffstats
path: root/libk8055/libk8055.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-02-28 23:48:42 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-02-28 23:48:42 +0100
commitb1485d0f76763cb40850b6153eb7363a3444a768 (patch)
treecb0ac615e58f4eb76d65c7c203c29daaac3a0987 /libk8055/libk8055.c
parentb83640023007b1cb56b70e955d0a3dc18e6b1d0a (diff)
downloadk8055-b1485d0f76763cb40850b6153eb7363a3444a768.zip
k8055-b1485d0f76763cb40850b6153eb7363a3444a768.tar.gz
small clear_digital_channel fix
Diffstat (limited to 'libk8055/libk8055.c')
-rw-r--r--libk8055/libk8055.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libk8055/libk8055.c b/libk8055/libk8055.c
index 2df72bd..37f05d8 100644
--- a/libk8055/libk8055.c
+++ b/libk8055/libk8055.c
@@ -328,7 +328,7 @@ int clear_digital_channel( struct k8055_dev* dev, long channel ) {
unsigned char data;
if ( channel<1 || channel>8 ) return K8055_ERROR;
data = dev->data_out[1] & ~( 1 << ( channel-1 ) );
- return WriteAllDigital( data );
+ return write_all_digital( dev, data );
}
int clear_all_digital( struct k8055_dev* dev ) {