X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fatten-pps3xxx%2Fprotocol.h;h=b9a256d17ab820daf73e631890a70bc6ad05278b;hb=ab34156b900e0166a75d03ceb6f36e4a7cc92415;hp=01983d3bdf2cbac3cd7984709902b47096971103;hpb=329733d92c5004f0fe308eff26b9537fded2cdf3;p=libsigrok.git diff --git a/src/hardware/atten-pps3xxx/protocol.h b/src/hardware/atten-pps3xxx/protocol.h index 01983d3b..b9a256d1 100644 --- a/src/hardware/atten-pps3xxx/protocol.h +++ b/src/hardware/atten-pps3xxx/protocol.h @@ -22,7 +22,7 @@ #include #include -#include "libsigrok.h" +#include #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];