Missing initialization.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12655 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
Giovanni Di Sirio 2019-02-10 17:34:26 +00:00
parent 14b7df7ccc
commit a5f9798f6f
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ int main(void) {
* Activates the serial driver 1 using the driver default configuration.
*/
sdStart(&SD1, NULL);
palSetPadMode(GPIOA, 9, PAL_MODE_ALTERNATE(7)); /* USART1 TX. */
palSetPadMode(GPIOA, 10, PAL_MODE_ALTERNATE(7)); /* USART1 RX. */
/*
* Creates the example threads.