aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-12-13 18:06:18 -0800
committerGitHub <noreply@github.com>2019-12-13 18:06:18 -0800
commit1f26101f0e5a9377a5016a0e49e46b6dae465fed (patch)
treec4650dd6e858d79409084c0b6d55161770c9e6b9
parent80c2e2674181191a41c4ca2c774d1a95b8a75838 (diff)
downloadqmk_firmware-1f26101f0e5a9377a5016a0e49e46b6dae465fed.tar.gz
qmk_firmware-1f26101f0e5a9377a5016a0e49e46b6dae465fed.zip
remove SERIAL_SOFT_DEBUG macro (#7625)
SERIAL_SOFT_DEBUG can be defined in the `config.h` Backported from tmk/tmk_keyboard@c74eee6327c5995456ba004d70b9663cf485d9f8 x
-rw-r--r--tmk_core/protocol/serial_soft.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tmk_core/protocol/serial_soft.c b/tmk_core/protocol/serial_soft.c
index b40907995..8624ef733 100644
--- a/tmk_core/protocol/serial_soft.c
+++ b/tmk_core/protocol/serial_soft.c
@@ -68,7 +68,6 @@ POSSIBILITY OF SUCH DAMAGE.
68#endif 68#endif
69 69
70/* debug for signal timing, see debug pin with oscilloscope */ 70/* debug for signal timing, see debug pin with oscilloscope */
71#define SERIAL_SOFT_DEBUG
72#ifdef SERIAL_SOFT_DEBUG 71#ifdef SERIAL_SOFT_DEBUG
73# define SERIAL_SOFT_DEBUG_INIT() (DDRD |= 1 << 7) 72# define SERIAL_SOFT_DEBUG_INIT() (DDRD |= 1 << 7)
74# define SERIAL_SOFT_DEBUG_TGL() (PORTD ^= 1 << 7) 73# define SERIAL_SOFT_DEBUG_TGL() (PORTD ^= 1 << 7)
@@ -169,7 +168,7 @@ void serial_send(uint8_t data) {
169/* detect edge of start bit */ 168/* detect edge of start bit */
170ISR(SERIAL_SOFT_RXD_VECT) { 169ISR(SERIAL_SOFT_RXD_VECT) {
171 SERIAL_SOFT_DEBUG_TGL(); 170 SERIAL_SOFT_DEBUG_TGL();
172 SERIAL_SOFT_RXD_INT_ENTER() 171 SERIAL_SOFT_RXD_INT_ENTER();
173 172
174 uint8_t data = 0; 173 uint8_t data = 0;
175 174