summaryrefslogtreecommitdiffstats
path: root/libk8055/libk8055.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-02-28 23:57:19 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-02-28 23:57:19 +0100
commit5e163e482532acefd30a058745fddda2cb754fb2 (patch)
tree094acba5ff496472aa4175700a4a794e3db5ec3d /libk8055/libk8055.c
parentb1485d0f76763cb40850b6153eb7363a3444a768 (diff)
downloadk8055-5e163e482532acefd30a058745fddda2cb754fb2.zip
k8055-5e163e482532acefd30a058745fddda2cb754fb2.tar.gz
add char* version(void)
Diffstat (limited to 'libk8055/libk8055.c')
-rw-r--r--libk8055/libk8055.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libk8055/libk8055.c b/libk8055/libk8055.c
index 37f05d8..ba03cf9 100644
--- a/libk8055/libk8055.c
+++ b/libk8055/libk8055.c
@@ -172,6 +172,10 @@ static int takeover_device( usb_dev_handle* udev, int interface ) {
return 0;
}
+char* version( void ) {
+ return( VERSION );
+}
+
int open_device( struct k8055_dev* dev, long board_address ) {
usb_init();
usb_find_busses();