aboutsummaryrefslogtreecommitdiff
path: root/simplemotion.c
diff options
context:
space:
mode:
Diffstat (limited to 'simplemotion.c')
-rw-r--r--simplemotion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/simplemotion.c b/simplemotion.c
index b94f488..cea0238 100644
--- a/simplemotion.c
+++ b/simplemotion.c
@@ -234,7 +234,7 @@ LIB SM_STATUS smCloseBus( const smbus bushandle )
if( smBDClose(smBus[bushandle].bdHandle) == smfalse ) return recordStatus(bushandle,SM_ERR_BUS);
- return recordStatus(bushandle,SM_OK);
+ return SM_OK;
}
char *cmdidToStr(smuint8 cmdid )