X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/04d383a4a09bfaa3e54b39d36dd8ce6f80afe725..10ca7ea8e832f80e144a7a4f67ff2bda310f3bb2:/scope.c diff --git a/scope.c b/scope.c index d2bae13..d6aff93 100644 --- a/scope.c +++ b/scope.c @@ -25,11 +25,16 @@ void claimscope(struct scope* sc) void releasescope(struct scope* sc) { - //Disable keylock, so the user doesn't have to press the 'force'-button + /* Disable keylock, so the user doesn't have to press the 'force'-button */ sendscpi(sc, ":KEY:LOCK DISABLE",NULL,0); return usbtmc_release(sc); } +void resetscope(struct scope* sc) +{ + return usbtmc_reset(sc); +} + struct scope* initscope(void) { struct scope *sc;