diff options
Diffstat (limited to 'simplemotion_private.h')
| -rw-r--r-- | simplemotion_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/simplemotion_private.h b/simplemotion_private.h index 1c80780..c56363e 100644 --- a/simplemotion_private.h +++ b/simplemotion_private.h @@ -43,6 +43,8 @@ extern FILE *smDebugOut; //such as stderr or file handle. if NULL, debug info di extern smuint16 readTimeoutMs;
void smDebug( smbus handle, smVerbosityLevel verbositylevel, char *format, ...);
+//accumulates status to internal variable by ORing the bits. returns same value that is fed as paramter
+SM_STATUS recordStatus( const smbus handle, const SM_STATUS stat );
SM_STATUS smRawCmd( const char *axisname, smuint8 cmd, smuint16 val, smuint32 *retdata );
|
