diff options
| author | Oskari Timperi <oskari.timperi@optofidelity.com> | 2017-06-07 16:26:54 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@optofidelity.com> | 2017-06-07 16:26:54 +0300 |
| commit | 766314e539231e7b71a26f5eec4a47178d19d4a4 (patch) | |
| tree | 2ea76d876970c818016bf876cfeddcc2bec0aab0 | |
| parent | 67db22dfed3306a6aaf2a9ba6fc814c8b4163ece (diff) | |
| download | SimpleMotionV2-766314e539231e7b71a26f5eec4a47178d19d4a4.tar.gz SimpleMotionV2-766314e539231e7b71a26f5eec4a47178d19d4a4.zip | |
Fix indexing in readFileLinefix-readFileLine
| -rw-r--r-- | devicedeployment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devicedeployment.c b/devicedeployment.c index 18e9748..879b3a6 100644 --- a/devicedeployment.c +++ b/devicedeployment.c @@ -44,7 +44,7 @@ unsigned int readFileLine( const smuint8 *data, const int dataLen, int *readPosi else { *eof=smfalse; - c=data[*readPosition+len]; + c=data[*readPosition]; (*readPosition)++; } |
