projects
/
qmk_firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80c2e26
)
remove SERIAL_SOFT_DEBUG macro (#7625)
author
Drashna Jaelre
<drashna@live.com>
Sat, 14 Dec 2019 02:06:18 +0000
(18:06 -0800)
committer
GitHub
<noreply@github.com>
Sat, 14 Dec 2019 02:06:18 +0000
(18:06 -0800)
SERIAL_SOFT_DEBUG can be defined in the `config.h`
Backported from tmk/tmk_keyboard@
c74eee6327c5995456ba004d70b9663cf485d9f8
x
tmk_core/protocol/serial_soft.c
patch
|
blob
|
history
diff --git
a/tmk_core/protocol/serial_soft.c
b/tmk_core/protocol/serial_soft.c
index b4090799547ad65b08cbf14dc823dbce02cc9d67..8624ef733c79f3222df6a0a8b4b844d86b165570 100644
(file)
--- a/
tmk_core/protocol/serial_soft.c
+++ b/
tmk_core/protocol/serial_soft.c
@@
-68,7
+68,6
@@
POSSIBILITY OF SUCH DAMAGE.
#endif
/* debug for signal timing, see debug pin with oscilloscope */
-#define SERIAL_SOFT_DEBUG
#ifdef SERIAL_SOFT_DEBUG
# define SERIAL_SOFT_DEBUG_INIT() (DDRD |= 1 << 7)
# define SERIAL_SOFT_DEBUG_TGL() (PORTD ^= 1 << 7)
@@
-169,7
+168,7
@@
void serial_send(uint8_t data) {
/* detect edge of start bit */
ISR(SERIAL_SOFT_RXD_VECT) {
SERIAL_SOFT_DEBUG_TGL();
- SERIAL_SOFT_RXD_INT_ENTER()
+ SERIAL_SOFT_RXD_INT_ENTER()
;
uint8_t data = 0;