]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hantek-dso/dso.c
sr: moved sigrok.h so libsigrok/libsigrok.h
[libsigrok.git] / hardware / hantek-dso / dso.c
index 75832c8aa4e98806a9dd35dea971259c7714a4dd..77cad923e1554ce514423d2eabfe2641ac556544 100644 (file)
@@ -19,8 +19,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "sigrok.h"
-#include "sigrok-internal.h"
+#include "libsigrok.h"
+#include "libsigrok-internal.h"
 #include "config.h"
 #include "dso.h"
 #include <string.h>
@@ -672,7 +672,7 @@ SR_PRIV int dso_get_capturestate(struct context *ctx, uint8_t *capturestate,
         */
        bitvalue = 1;
        for (i = 0; i < 24; i++) {
-               // Each set bit inverts all bits with a lower value
+               /* Each set bit inverts all bits with a lower value. */
                if(toff & bitvalue)
                        toff ^= bitvalue - 1;
                bitvalue <<= 1;