Dmitry Kovalev
/
LG
n
Fork of LG by
Diff: console.c
- Revision:
- 1:f2adcae3d304
- Parent:
- 0:8ad47e2b6f00
- Child:
- 12:74bd0ecf7f83
diff -r 8ad47e2b6f00 -r f2adcae3d304 console.c --- a/console.c Sat Jan 30 13:00:39 2016 +0000 +++ b/console.c Sat Jan 30 13:53:19 2016 +0000 @@ -1,6 +1,7 @@ -#include "console.h" -#include "lpc17xx.h" -#include "CyclesSync.h" +#include "Global.h" + + + #define FOSC 12000000 #define FCCLK (FOSC * 8) @@ -30,7 +31,7 @@ void UART0_Init_m (void)///�������������� �������� ����� - +{ uint16_t usFdiv; /* UART0 */ LPC_PINCON->PINSEL0 |= (1 << 4); /* Pin P0.2 used as TXD0 (Com0) */