diff options
| author | Tero Kontkanen <tero.kontkanen@granitedevices.fi> | 2017-05-29 22:34:15 +0300 |
|---|---|---|
| committer | Tero Kontkanen <tero.kontkanen@granitedevices.fi> | 2017-05-29 22:34:15 +0300 |
| commit | 67db22dfed3306a6aaf2a9ba6fc814c8b4163ece (patch) | |
| tree | 2ccd75a64a4d25b3b2b1964157d8af35940a99ec /simplemotion_private.h | |
| parent | f065efc4607c8adcc31266748bd1e20ca39090b9 (diff) | |
| parent | a60052b1d6a620e64d300f07e9edd26a963cd889 (diff) | |
| download | SimpleMotionV2-67db22dfed3306a6aaf2a9ba6fc814c8b4163ece.tar.gz SimpleMotionV2-67db22dfed3306a6aaf2a9ba6fc814c8b4163ece.zip | |
Merge branch 'develop': Summary of changes:
-Added communication TCP IP port
-Added device deployment API
-Added buffered motion API
-New version of simplemotion_defs.h
-Various fixes & MacOS support
Diffstat (limited to 'simplemotion_private.h')
| -rw-r--r-- | simplemotion_private.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/simplemotion_private.h b/simplemotion_private.h index e0f70f3..67128b7 100644 --- a/simplemotion_private.h +++ b/simplemotion_private.h @@ -1,16 +1,6 @@ //Internal functions & definitions, not for library user
//Copyright (c) Granite Devices Oy
-/*
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-*/
#ifndef SIMPLEMOTION_PRIVATE_H
#define SIMPLEMOTION_PRIVATE_H
@@ -48,6 +38,8 @@ extern smuint16 readTimeoutMs; //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, ...);
+//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 );
|
