X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/7906b3955cc67818ef5fea5c4a92dc2ddfcf9291..bd29c60e53e501684134598436c05bb25915cb1c:/scope.c diff --git a/scope.c b/scope.c index d2bae13..c316ee5 100644 --- a/scope.c +++ b/scope.c @@ -1,4 +1,3 @@ -#include #include #include #include @@ -25,11 +24,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;