git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.4.x@3922 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
d37d10d95e
commit
a1f9d3ca8e
|
@ -132,7 +132,7 @@ int main(void) {
|
||||||
chSysInit();
|
chSysInit();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Activates the UART driver 2, PA2 and PA3 are routed to USART2.
|
* Activates the UART driver 2, PA2(TX) and PA3(RX) are routed to USART2.
|
||||||
*/
|
*/
|
||||||
uartStart(&UARTD2, &uart_cfg_1);
|
uartStart(&UARTD2, &uart_cfg_1);
|
||||||
palSetPadMode(GPIOA, 2, PAL_MODE_ALTERNATE(7));
|
palSetPadMode(GPIOA, 2, PAL_MODE_ALTERNATE(7));
|
||||||
|
|
Loading…
Reference in New Issue