]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/atten-pps3xxx/protocol.h
rigol-ds: Add DS1074Z Plus and DS1104Z Plus.
[libsigrok.git] / src / hardware / atten-pps3xxx / protocol.h
index 01983d3bdf2cbac3cd7984709902b47096971103..b9a256d17ab820daf73e631890a70bc6ad05278b 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "atten-pps3xxx"
@@ -54,7 +54,7 @@ struct channel_spec {
 
 struct pps_model {
        int modelid;
-       char *name;
+       const char *name;
        int channel_modes;
        int num_channels;
        struct channel_spec channels[MAX_CHANNELS];