]> git.droids-corp.org - protos/rc_servos.git/commitdiff
rc_servos: don't forget to poll SPI in bypass mode
authorFabrice Desclaux <serpilliere@droids-corp.org>
Thu, 22 Mar 2012 19:52:09 +0000 (20:52 +0100)
committerFabrice Desclaux <serpilliere@droids-corp.org>
Thu, 22 Mar 2012 19:52:09 +0000 (20:52 +0100)
main.c

diff --git a/main.c b/main.c
index c89b6373065d32ce23503e9ae27fab192238ca96..c729bbf0fcf159532211b394baaca5ae1b06db87 100644 (file)
--- a/main.c
+++ b/main.c
@@ -178,6 +178,7 @@ int main(void)
                /* bypass mode */
                while (bypass == 1) {
                        PORTC = PORTB;
+                       poll_spi();
                }
        }