projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build: Fix incorrect build target for Ubuntu CI builds.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Peripheral
/
AVR8
/
Serial_AVR8.c
diff --git
a/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c
b/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c
index
e77eb90
..
551713f
100644
(file)
--- a/
LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c
+++ b/
LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
3
.
+ Copyright (C) Dean Camera, 201
9
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
3
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
9
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-88,8
+88,10
@@
void Serial_SendString(const char* StringPtr)
void Serial_SendData(const void* Buffer,
uint16_t Length)
{
void Serial_SendData(const void* Buffer,
uint16_t Length)
{
+ uint8_t* CurrByte = (uint8_t*)Buffer;
+
while (Length--)
while (Length--)
- Serial_SendByte(*(
(uint8_t*)Buffer
++));
+ Serial_SendByte(*(
CurrByte
++));
}
void Serial_CreateStream(FILE* Stream)
}
void Serial_CreateStream(FILE* Stream)