X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=type_decoder.c;h=f689dd0f396045dfa37e484d3f7e1667df976a49;hp=c8ef09e1021b4be12335eac5af61235f445330e2;hb=f2a5df42ea41e6c4370d4efa1a27ab942ba1ddff;hpb=32cfb920625182c03eb4a4564ffdfa9d2b08f15c diff --git a/type_decoder.c b/type_decoder.c index c8ef09e..f689dd0 100644 --- a/type_decoder.c +++ b/type_decoder.c @@ -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? */