altos/telelco: Actually set pad when it changes
authorKeith Packard <keithp@keithp.com>
Mon, 15 Oct 2012 06:40:58 +0000 (23:40 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 15 Oct 2012 06:40:58 +0000 (23:40 -0700)
Oops. Lost the actual assignment to the current pad

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telelco-v0.1/ao_lco.c

index 1bf2a82..ab9f674 100644 (file)
@@ -127,6 +127,7 @@ ao_lco_input(void)
                                                        break;
                                        }
                                        if (new_pad != ao_lco_pad) {
+                                               ao_lco_pad = new_pad;
                                                ao_quadrature_count[AO_QUADRATURE_PAD] = ao_lco_pad;
                                                ao_lco_set_pad();
                                        }