Initialize serial line with 115200 bps for SLIP

This commit is contained in:
adamdunkels 2008-02-11 10:44:12 +00:00
parent fbcf9b6fcf
commit 6740d95bfa

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* @(#)$Id: contiki-sky-main.c,v 1.26 2008/02/03 21:03:19 adamdunkels Exp $ * @(#)$Id: contiki-sky-main.c,v 1.27 2008/02/11 10:44:12 adamdunkels Exp $
*/ */
#include <signal.h> #include <signal.h>
@ -153,8 +153,8 @@ main(int argc, char **argv)
leds_on(LEDS_RED); leds_on(LEDS_RED);
#if WITH_UIP #if WITH_UIP
uart1_init(BAUD2UBR(57600)); /* Must come before first printf */ uart1_init(BAUD2UBR(115200)); /* Must come before first printf */
slip_arch_init(BAUD2UBR(57600)); slip_arch_init(BAUD2UBR(115200));
#else #else
uart1_init(BAUD2UBR(115200)); /* Must come before first printf */ uart1_init(BAUD2UBR(115200)); /* Must come before first printf */
#endif /* WITH_UIP */ #endif /* WITH_UIP */