]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/commitdiff
Initialize GIO for all targets
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 7 Aug 2015 17:38:19 +0000 (19:38 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 7 Aug 2015 17:57:14 +0000 (19:57 +0200)
For RPP, it is needed at least by sleep command in test-sw.

rpp/src/rpp/rpp.c

index 601a4fdfd7054babdfd5964dcd7e0b52743439b3..14f122728891c25e31a43633ff312edc70f89f18 100644 (file)
@@ -51,9 +51,8 @@ int8_t rpp_init()
        rpp_sdr_init();
        rpp_irc_init();
        rpp_eth_init();
-#else
-       rpp_gio_init(RPP_GIO_PORT_ALL);
 #endif
+       rpp_gio_init(RPP_GIO_PORT_ALL);
        _enable_IRQ();
 #endif