aboutsummaryrefslogtreecommitdiff
path: root/simplemotion_private.h
diff options
context:
space:
mode:
authorTero Kontkanen <tero.kontkanen@granitedevices.fi>2016-10-28 15:18:18 +0300
committerTero Kontkanen <tero.kontkanen@granitedevices.fi>2016-10-28 15:18:18 +0300
commitfa9c9212d7e25e9eacbbfcc4e6a516b4d48ebbb5 (patch)
treee243901845512055513c8e8522ac6243e4e0eb04 /simplemotion_private.h
parentce55c8a4227539f4d4f57f7acc4aaff1d18c0001 (diff)
downloadSimpleMotionV2-fa9c9212d7e25e9eacbbfcc4e6a516b4d48ebbb5.tar.gz
SimpleMotionV2-fa9c9212d7e25e9eacbbfcc4e6a516b4d48ebbb5.zip
Added smSetBaudrate() to allow changing bus speed
Diffstat (limited to 'simplemotion_private.h')
-rw-r--r--simplemotion_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/simplemotion_private.h b/simplemotion_private.h
index 1c80780..e46dc1c 100644
--- a/simplemotion_private.h
+++ b/simplemotion_private.h
@@ -30,6 +30,7 @@
#define BUSDEV_FTDI 2 /*not implemented yet: direct FTDI lib support*/
#define SM_BUSDEVICENAME_LEN 64
+extern unsigned long SMBusBaudrate; //the next opened port (with smOpenBus) will be opened with the PBS defined here (default 460800 BPS)
//default timeout in ms
//Argon drive's worst case response time should be ~20ms with max length packets