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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
lufa
Commits
85f4f2c2
Commit
85f4f2c2
authored
12 years ago
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Minor code style and documentation changes.
parent
af3c001c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
LUFA/DoxygenPages/LUFAPoweredProjects.txt
+2
-0
2 additions, 0 deletions
LUFA/DoxygenPages/LUFAPoweredProjects.txt
LUFA/Drivers/Misc/RingBuffer.h
+6
-3
6 additions, 3 deletions
LUFA/Drivers/Misc/RingBuffer.h
with
8 additions
and
3 deletions
LUFA/DoxygenPages/LUFAPoweredProjects.txt
+
2
−
0
View file @
85f4f2c2
...
...
@@ -38,6 +38,7 @@
* can be incorporated into many different applications.
*
* \li Accelerometer Game Joystick: http://www.crictor.co.il/he/episodes/joystick/
* \li AERY development platform for the AVR32 devices: http://www.aery32.com/
* \li Arcade Controller: http://fletchtronics.net/arcade-controller-made-petunia
* \li Arcade Joystick: http://jamie.lentin.co.uk/embedded/arcade-joystick/
* \li AttoBasic AVR BASIC interpreter: http://www.cappels.org/dproj/AttoBasic2_1/AttoBasic_2.1_with_USB_and_Arduino_support.html
...
...
@@ -119,6 +120,7 @@
* \li USB MIDI to DMX controller: http://github.com/hanshuebner/miDiMX
* \li USB powered Geiger Counter: http://uhrheber.wordpress.com/2011/04/28/a-usb-powered-geiger-counter-for-the-z2-and-other-computers/
* \li Userial, a USB to Serial converter with SPI, I2C and other protocols: http://www.tty1.net/userial/
* \li Wii Classic Controller to USB converter: https://github.com/crazyiop/wii-classic-2-usb
* \li Wireless MIDI Guitar system: http://www.ise.pw.edu.pl/~wzab/wireless_guitar_system/
* \li Xnormidi, a C MIDI library: http://x37v.info/projects/xnormidi
* \li XUM1541, a Commodore 64 floppy drive to USB adapter: http://www.root.org/~nate/c64/xum1541/
...
...
This diff is collapsed.
Click to expand it.
LUFA/Drivers/Misc/RingBuffer.h
+
6
−
3
View file @
85f4f2c2
...
...
@@ -126,9 +126,12 @@
* \param[out] DataPtr Pointer to a global array that will hold the data stored into the ring buffer.
* \param[out] Size Maximum number of bytes that can be stored in the underlying data array.
*/
static
inline
void
RingBuffer_InitBuffer
(
RingBuffer_t
*
Buffer
,
uint8_t
*
const
DataPtr
,
const
uint16_t
Size
)
ATTR_NON_NULL_PTR_ARG
(
1
)
ATTR_NON_NULL_PTR_ARG
(
2
);
static
inline
void
RingBuffer_InitBuffer
(
RingBuffer_t
*
Buffer
,
uint8_t
*
const
DataPtr
,
const
uint16_t
Size
)
static
inline
void
RingBuffer_InitBuffer
(
RingBuffer_t
*
Buffer
,
uint8_t
*
const
DataPtr
,
const
uint16_t
Size
)
ATTR_NON_NULL_PTR_ARG
(
1
)
ATTR_NON_NULL_PTR_ARG
(
2
);
static
inline
void
RingBuffer_InitBuffer
(
RingBuffer_t
*
Buffer
,
uint8_t
*
const
DataPtr
,
const
uint16_t
Size
)
{
GCC_FORCE_POINTER_ACCESS
(
Buffer
);
...
...
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