]> sigrok.org Git - libsigrokdecode.git/blobdiff - type_decoder.c
Rename inter-PD output type to SRD_OUTPUT_PYTHON
[libsigrokdecode.git] / type_decoder.c
index c8ef09e1021b4be12335eac5af61235f445330e2..f689dd0f396045dfa37e484d3f7e1667df976a49 100644 (file)
@@ -25,7 +25,7 @@
 /* This is only used for nicer srd_dbg() output. */
 static const char *OUTPUT_TYPES[] = {
        "OUTPUT_ANN",
-       "OUTPUT_PROTO",
+       "OUTPUT_PYTHON",
        "OUTPUT_BINARY",
 };
 
@@ -145,7 +145,7 @@ static PyObject *Decoder_put(PyObject *self, PyObject *args)
                        cb->cb(pdata, cb->cb_data);
                }
                break;
-       case SRD_OUTPUT_PROTO:
+       case SRD_OUTPUT_PYTHON:
                for (l = di->next_di; l; l = l->next) {
                        next_di = l->data;
                        /* TODO: Is this needed? */