Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lufa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
lufa
Commits
16e8fe98
Commit
16e8fe98
authored
Apr 29, 2013
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Fix Serial peripheral driver compile error for XMEGA devices.
parent
5e55be10
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c
+2
-2
2 additions, 2 deletions
LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c
LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.h
+2
-2
2 additions, 2 deletions
LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.h
Maintenance/makefile
+1
-0
1 addition, 0 deletions
Maintenance/makefile
with
5 additions
and
4 deletions
LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c
+
2
−
2
View file @
16e8fe98
...
...
@@ -95,7 +95,7 @@ void Serial_SendData(USART_t* const USART,
Serial_SendByte
(
USART
,
*
((
uint8_t
*
)
Buffer
++
));
}
void
Serial_CreateStream
(
FILE
*
const
Stream
)
void
Serial_CreateStream
(
FILE
*
Stream
)
{
if
(
!
(
Stream
))
{
...
...
@@ -107,7 +107,7 @@ void Serial_CreateStream(FILE* const Stream)
*
Stream
=
(
FILE
)
FDEV_SETUP_STREAM
(
Serial_putchar
,
Serial_getchar
,
_FDEV_SETUP_RW
);
}
void
Serial_CreateBlockingStream
(
FILE
*
const
Stream
)
void
Serial_CreateBlockingStream
(
FILE
*
Stream
)
{
if
(
!
(
Stream
))
{
...
...
This diff is collapsed.
Click to expand it.
LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.h
+
2
−
2
View file @
16e8fe98
...
...
@@ -156,7 +156,7 @@
*
* \pre The USART must first be configured via a call to \ref Serial_Init() before the stream is used.
*/
void
Serial_CreateStream
(
FILE
*
const
Stream
);
void
Serial_CreateStream
(
FILE
*
Stream
);
/** Identical to \ref Serial_CreateStream(), except that reads are blocking until the calling stream function terminates
* the transfer.
...
...
@@ -166,7 +166,7 @@
*
* \pre The USART must first be configured via a call to \ref Serial_Init() before the stream is used.
*/
void
Serial_CreateBlockingStream
(
FILE
*
const
Stream
);
void
Serial_CreateBlockingStream
(
FILE
*
Stream
);
/* Inline Functions: */
/** Initializes the USART, ready for serial data transmission and reception. This initializes the interface to
...
...
This diff is collapsed.
Click to expand it.
Maintenance/makefile
+
1
−
0
View file @
16e8fe98
...
...
@@ -19,6 +19,7 @@ function-list:
$(
MAKE
)
-C
$(
patsubst %/,%,
$(
LUFA_ROOT
))
/LUFA doxygen
DOXYGEN_OVERRIDE_PARAMS
=
"GENERATE_HTML=no GENERATE_XML=yes"
@
xsltproc
$(
patsubst %/,%,
$(
LUFA_ROOT
))
/LUFA/Documentation/xml/combine.xslt
$(
patsubst %/,%,
$(
LUFA_ROOT
))
/LUFA/Documentation/xml/index.xml
>
temp.xml
@
xsltproc lufa_functionlist_transform.xslt temp.xml
>
function_list.h
@
cat
function_list.h |
sort
|
uniq
>
function_list_unique.h
@
rm
temp.xml
# Update all Doxygen configuration files to the latest Doxygen version - force Markdown support to be disabled
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment