diff --git a/suunto_vyper.c b/suunto_vyper.c index ef63abc..8c7a6e9 100644 --- a/suunto_vyper.c +++ b/suunto_vyper.c @@ -97,7 +97,7 @@ int suunto_vyper_close (vyper *device) { if (device == NULL) - return SUUNTO_VYPER_ERROR; + return SUUNTO_VYPER_SUCCESS; // Close the device. if (serial_close (device->port) == -1) {