projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make USE_INTERNAL_SERIAL configureable as makefile define
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Device
/
CDCClassDevice.c
diff --git
a/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c
b/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c
index
27f8e72
..
bf6e301
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Device/CDCClassDevice.c
+++ b/
LUFA/Drivers/USB/Class/Device/CDCClassDevice.c
@@
-323,7
+323,7
@@
void CDC_Device_CreateBlockingStream(USB_ClassInfo_CDC_Device_t* const CDCInterf
static int CDC_Device_putchar(char c,
FILE* Stream)
{
static int CDC_Device_putchar(char c,
FILE* Stream)
{
- return CDC_Device_SendByte((USB_ClassInfo_CDC_Device_t*)fdev_get_udata(Stream), c) ? _FDEV_ERR :
0
;
+ return CDC_Device_SendByte((USB_ClassInfo_CDC_Device_t*)fdev_get_udata(Stream), c) ? _FDEV_ERR :
c
;
}
static int CDC_Device_getchar(FILE* Stream)
}
static int CDC_Device_getchar(FILE* Stream)