Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
fwatch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
fwatch
Commits
0b52b634
Commit
0b52b634
authored
Jul 23, 2014
by
Xavier Piroux
Committed by
Projects
Sep 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SD uses USART1 instead of USART0
parent
253297a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
usart.c
sw/os-comparison/freertos_blink_fat/src/media-drv/sd/usart.c
+2
-2
usart.h
sw/os-comparison/freertos_blink_fat/src/media-drv/sd/usart.h
+1
-1
No files found.
sw/os-comparison/freertos_blink_fat/src/media-drv/sd/usart.c
View file @
0b52b634
...
...
@@ -41,9 +41,9 @@
* @param txBuffer points to data to transmit
* @param bytesToSend bytes will be sent
*****************************************************************************/
void
USART
0
_sendBuffer
(
char
*
txBuffer
,
int
bytesToSend
)
void
USART
1
_sendBuffer
(
char
*
txBuffer
,
int
bytesToSend
)
{
USART_TypeDef
*
uart
=
USART
0
;
USART_TypeDef
*
uart
=
USART
1
;
int
ii
;
/* Sending the data */
...
...
sw/os-comparison/freertos_blink_fat/src/media-drv/sd/usart.h
View file @
0b52b634
...
...
@@ -50,7 +50,7 @@
#define GPIO_POS2 2
void
USART
0
_sendBuffer
(
char
*
,
int
);
void
USART
1
_sendBuffer
(
char
*
,
int
);
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment