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 c89b637..c729bbf 100644 (file)
--- a/main.c
+++ b/main.c
@@ -178,6 +178,7 @@ int main(void)
                /* bypass mode */
                while (bypass == 1) {
                        PORTC = PORTB;
+                       poll_spi();
                }
        }