]> sigrok.org Git - libsigrok.git/blobdiff - hardware/nexus-osciprime/api.c
Remove sr_rational
[libsigrok.git] / hardware / nexus-osciprime / api.c
index b81b9e88c5f440d79246c35fc1ba6473069c8e69..238cda515867bd5ee5d278e53e4c78493acc0b0f 100644 (file)
@@ -42,7 +42,7 @@ static const int32_t hwcaps[] = {
        SR_CONF_VDIV,
 };
 
-static const struct sr_rational timebases[] = {
+static const uint64_t timebases[][2] = {
        /* 24 MHz */
        { 42, 1e9 },
        /* 12 MHz */
@@ -94,7 +94,7 @@ static const char *probe_names[] = {
        NULL,
 };
 
-static const struct sr_rational vdivs[] = {
+static const uint64_t vdivs[][2] = {
        { 1, 1 },
        { 2, 1 },
        { 5, 2 },