X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fchronovu-la8%2Fprotocol.c;h=35a0342c30eb34b9ca6a36da6a0b35a06e2b9f3b;hb=7ec5b54955118d8c1ee003a02c3334f1a0046457;hp=9b25cd7f2aca7cda43998ead73e37cde42b78ba4;hpb=45e080b60b2526fd9723dd822215294f973bff2a;p=libsigrok.git diff --git a/hardware/chronovu-la8/protocol.c b/hardware/chronovu-la8/protocol.c index 9b25cd7f..35a0342c 100644 --- a/hardware/chronovu-la8/protocol.c +++ b/hardware/chronovu-la8/protocol.c @@ -26,18 +26,11 @@ /* Probes are numbered 0-7. */ SR_PRIV const char *probe_names[NUM_PROBES + 1] = { - "0", - "1", - "2", - "3", - "4", - "5", - "6", - "7", + "0", "1", "2", "3", "4", "5", "6", "7", NULL, }; -/* This will be initialized via hw_info_get()/SR_DI_SAMPLERATES. */ +/* This will be initialized via config_list()/SR_CONF_SAMPLERATE. */ SR_PRIV uint64_t supported_samplerates[255 + 1] = { 0 }; /* @@ -53,10 +46,10 @@ const struct sr_samplerates samplerates = { /* Note: Continuous sampling is not supported by the hardware. */ SR_PRIV const int hwcaps[] = { - SR_HWCAP_LOGIC_ANALYZER, - SR_HWCAP_SAMPLERATE, - SR_HWCAP_LIMIT_MSEC, /* TODO: Not yet implemented. */ - SR_HWCAP_LIMIT_SAMPLES, /* TODO: Not yet implemented. */ + SR_CONF_LOGIC_ANALYZER, + SR_CONF_SAMPLERATE, + SR_CONF_LIMIT_MSEC, /* TODO: Not yet implemented. */ + SR_CONF_LIMIT_SAMPLES, /* TODO: Not yet implemented. */ 0, };