diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-02-28 23:48:42 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-02-28 23:48:42 +0100 |
commit | b1485d0f76763cb40850b6153eb7363a3444a768 (patch) | |
tree | cb0ac615e58f4eb76d65c7c203c29daaac3a0987 | |
parent | b83640023007b1cb56b70e955d0a3dc18e6b1d0a (diff) | |
download | k8055-b1485d0f76763cb40850b6153eb7363a3444a768.zip k8055-b1485d0f76763cb40850b6153eb7363a3444a768.tar.gz |
small clear_digital_channel fix
-rw-r--r-- | libk8055/libk8055.c | 2 |
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 ) { |