X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-test.git;a=blobdiff_plain;f=decoder%2Fruntc.c;h=896935bfc81d02909a78ffb5d3e310786459661a;hp=3d0bfd8f0c845b2ab2104e979fd3d1b18420fdbb;hb=14e38a009d0ed7c6e3f1cb2f725b0d5f00331638;hpb=987819ad8910f5fedca4553706ec88919a3c9ad9
diff --git a/decoder/runtc.c b/decoder/runtc.c
index 3d0bfd8..896935b 100644
--- a/decoder/runtc.c
+++ b/decoder/runtc.c
@@ -17,6 +17,8 @@
* along with this program. If not, see .
*/
+#include
+
#include
#include
#include
@@ -52,14 +54,21 @@ struct option {
GVariant *value;
};
+struct initial_pin_info {
+ char *name;
+ int value;
+};
+
struct pd {
const char *name;
GSList *channels;
GSList *options;
+ GSList *initial_pins;
};
struct output {
const char *pd;
+ const char *pd_id;
int type;
const char *class;
int class_idx;
@@ -141,6 +150,7 @@ static void usage(const char *msg)
printf(" -P \n");
printf(" -p (optional)\n");
printf(" -o (optional)\n");
+ printf(" -N (optional)\n");
printf(" -i \n");
printf(" -O \n");
printf(" -f