Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
aa61ee1c
Commit
aa61ee1c
authored
Jan 02, 2013
by
Dean Camera
Browse files
Minor typo corrections.
parent
2957f2bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Demos/Host/LowLevel/VirtualSerialHost/VirtualSerialHost.c
View file @
aa61ee1c
...
@@ -148,7 +148,7 @@ void EVENT_USB_Host_DeviceEnumerationComplete(void)
...
@@ -148,7 +148,7 @@ void EVENT_USB_Host_DeviceEnumerationComplete(void)
" -- Error Code: %d
\r\n
"
ESC_FG_WHITE
),
ErrorCode
);
" -- Error Code: %d
\r\n
"
ESC_FG_WHITE
),
ErrorCode
);
LEDs_SetAllLEDs
(
LEDMASK_USB_ERROR
);
LEDs_SetAllLEDs
(
LEDMASK_USB_ERROR
);
return
;
return
;
}
}
puts_P
(
PSTR
(
"CDC Device Enumerated.
\r\n
"
));
puts_P
(
PSTR
(
"CDC Device Enumerated.
\r\n
"
));
...
...
LUFA/Common/Common.h
View file @
aa61ee1c
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
/* Architecture specific utility includes: */
/* Architecture specific utility includes: */
#if defined(__DOXYGEN__)
#if defined(__DOXYGEN__)
/** Type define for an unsigned integer the same width as the selected architecture's machine register.
/** Type define for an unsigned integer the same width as the selected architecture's machine register.
* This is distinct from the non-specific standard int data type, whose width is machine depend
a
nt but
* This is distinct from the non-specific standard int data type, whose width is machine depend
e
nt but
* which may not reflect the actual machine register width on some targets (e.g. AVR8).
* which may not reflect the actual machine register width on some targets (e.g. AVR8).
*/
*/
typedef
MACHINE_REG_t
uint_reg_t
;
typedef
MACHINE_REG_t
uint_reg_t
;
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
#include <math.h>
#include <math.h>
// === TODO: Find abstracted way to handle these ===
// === TODO: Find abstracted way to handle these ===
#define PROGMEM
#define PROGMEM
#define pgm_read_byte(x) *x
#define pgm_read_byte(x) *x
#define memcmp_P(...) memcmp(__VA_ARGS__)
#define memcmp_P(...) memcmp(__VA_ARGS__)
#define memcpy_P(...) memcpy(__VA_ARGS__)
#define memcpy_P(...) memcpy(__VA_ARGS__)
...
...
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