Browse Source

remove SERIAL_SOFT_DEBUG macro

SERIAL_SOFT_DEBUG can be defined in the `config.h`
tags/v2.9
duanhongyi 8 years ago
parent
commit
c74eee6327
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      tmk_core/protocol/serial_soft.c

+ 1
- 2
tmk_core/protocol/serial_soft.c View File

#endif #endif


/* debug for signal timing, see debug pin with oscilloscope */ /* debug for signal timing, see debug pin with oscilloscope */
#define SERIAL_SOFT_DEBUG
#ifdef SERIAL_SOFT_DEBUG #ifdef SERIAL_SOFT_DEBUG
#define SERIAL_SOFT_DEBUG_INIT() (DDRD |= 1<<7) #define SERIAL_SOFT_DEBUG_INIT() (DDRD |= 1<<7)
#define SERIAL_SOFT_DEBUG_TGL() (PORTD ^= 1<<7) #define SERIAL_SOFT_DEBUG_TGL() (PORTD ^= 1<<7)
ISR(SERIAL_SOFT_RXD_VECT) ISR(SERIAL_SOFT_RXD_VECT)
{ {
SERIAL_SOFT_DEBUG_TGL(); SERIAL_SOFT_DEBUG_TGL();
SERIAL_SOFT_RXD_INT_ENTER()
SERIAL_SOFT_RXD_INT_ENTER();


uint8_t data = 0; uint8_t data = 0;



Loading…
Cancel
Save