aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/increment.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/increment.c b/src/increment.c
index 25e7924..b5a8a59 100644
--- a/src/increment.c
+++ b/src/increment.c
@@ -119,6 +119,9 @@ void *increment_new(t_symbol *s, int argc, t_atom *argv)
floatinlet_new(&x->x_obj, &x->inc);
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd,
+ gensym("bang"), gensym("reset"));
+
x->outlet1 = outlet_new(&x->x_obj, &s_float);
//x->outlet2 = outlet_new(&x->x_obj, &s_float);