X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fzeroplus-logic-cube%2Fapi.c;h=6a76b3d8d758cd14806bcd6e17eafe4aafd35b63;hb=2c24077466a299ead689c90f01f55f6d86c7386b;hp=50b7df9e423ece744797a9af375bf7af8403a9f3;hpb=45ec8f775680124d49e82251f258104cf4414f17;p=libsigrok.git diff --git a/src/hardware/zeroplus-logic-cube/api.c b/src/hardware/zeroplus-logic-cube/api.c index 50b7df9e..6a76b3d8 100644 --- a/src/hardware/zeroplus-logic-cube/api.c +++ b/src/hardware/zeroplus-logic-cube/api.c @@ -31,7 +31,7 @@ struct zp_model { uint16_t vid; uint16_t pid; - char *model_name; + const char *model_name; unsigned int channels; unsigned int sample_depth; /* In Ksamples/channel */ unsigned int max_sampling_freq;