srd: PDs now get a logic feed with sample numbers, not time/duration
[libsigrokdecode.git] / type_decoder.c
index 34b414e6c3b31a96644529245ea504d9dd665227..e1e67967c6b79c6b6de8feb06333342a7ef88920 100644 (file)
@@ -177,7 +177,7 @@ static PyObject *Decoder_add(PyObject *self, PyObject *args)
 
 static PyMethodDef Decoder_methods[] = {
        {"put", Decoder_put, METH_VARARGS,
-        "Accepts a dictionary with the following keys: time, duration, data"},
+        "Accepts a dictionary with the following keys: startsample, endsample, data"},
        {"add", Decoder_add, METH_VARARGS, "Create a new output stream"},
        {NULL, NULL, 0, NULL}
 };