git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3495 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
d4187a3454
commit
57bf9c83de
|
@ -217,8 +217,8 @@ int main(void) {
|
||||||
* Prepares the Serial driver 2 and GPT drivers 2 and 3.
|
* Prepares the Serial driver 2 and GPT drivers 2 and 3.
|
||||||
*/
|
*/
|
||||||
sdStart(&SD2, NULL); /* Default is 38400-8-N-1.*/
|
sdStart(&SD2, NULL); /* Default is 38400-8-N-1.*/
|
||||||
palSetPadMode(GPIOA, 9, PAL_MODE_ALTERNATE(7));
|
palSetPadMode(GPIOA, 2, PAL_MODE_ALTERNATE(7));
|
||||||
palSetPadMode(GPIOA, 10, PAL_MODE_ALTERNATE(7));
|
palSetPadMode(GPIOA, 3, PAL_MODE_ALTERNATE(7));
|
||||||
gptStart(&GPTD2, &gpt2cfg);
|
gptStart(&GPTD2, &gpt2cfg);
|
||||||
gptStart(&GPTD3, &gpt3cfg);
|
gptStart(&GPTD3, &gpt3cfg);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue