From: Drashna Jaelre Date: Sat, 14 Dec 2019 02:06:18 +0000 (-0800) Subject: remove SERIAL_SOFT_DEBUG macro (#7625) X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1f26101f0e5a9377a5016a0e49e46b6dae465fed;p=qmk_firmware.git remove SERIAL_SOFT_DEBUG macro (#7625) SERIAL_SOFT_DEBUG can be defined in the `config.h` Backported from tmk/tmk_keyboard@c74eee6327c5995456ba004d70b9663cf485d9f8 x --- 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. #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;