aboutsummaryrefslogtreecommitdiff
path: root/simplemotion_private.h
diff options
context:
space:
mode:
authorTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-01-27 14:10:28 +0200
committerTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-01-27 14:10:28 +0200
commit787e6aa5f47c2bfa3e8f7d1d3ffb4f3c4926575a (patch)
tree832d67329b562c1407cddebad756da53efea0cc1 /simplemotion_private.h
parent1f976e7371a1da4d2b7d3e33587f6c03c33c9eed (diff)
parentb70a617475efe9af38e6d3debc26ff1555714435 (diff)
downloadSimpleMotionV2-787e6aa5f47c2bfa3e8f7d1d3ffb4f3c4926575a.tar.gz
SimpleMotionV2-787e6aa5f47c2bfa3e8f7d1d3ffb4f3c4926575a.zip
Merge branch 'feature/replace_rs232_lib' into develop
Diffstat (limited to 'simplemotion_private.h')
-rw-r--r--simplemotion_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/simplemotion_private.h b/simplemotion_private.h
index e46dc1c..85e54f9 100644
--- a/simplemotion_private.h
+++ b/simplemotion_private.h
@@ -43,6 +43,10 @@ extern const smuint8 table_crc8[];
extern FILE *smDebugOut; //such as stderr or file handle. if NULL, debug info disbled
extern smuint16 readTimeoutMs;
+//smDebug: prints debug info to smDebugOut stream. If no handle availab, set it to -1.
+//set verbositylevel according to frequency of prints made.
+//I.e Low=low frequency, so it gets displayed when global verbosity level is set to at least Low or set it to Trace which gets filtered
+//out if global verbisity level is set less than Trace
void smDebug( smbus handle, smVerbosityLevel verbositylevel, char *format, ...);
SM_STATUS smRawCmd( const char *axisname, smuint8 cmd, smuint16 val, smuint32 *retdata );