Remove more useless code (#9475)
This commit is contained in:
@@ -54,11 +54,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define SUART_IN_BIT 1
|
||||
|
||||
#ifdef __AVR_ATmega32U4__
|
||||
/* iom32u4.h has no definition of UCSR1D. copy from iom32u2.h */
|
||||
#define UCSR1D _SFR_MEM8(0xCB)
|
||||
#define RTSEN 0
|
||||
#define CTSEN 1
|
||||
|
||||
#define SERIAL_UART_BAUD 115200
|
||||
#define SERIAL_UART_DATA UDR1
|
||||
#define SERIAL_UART_UBRR ((F_CPU/(16.0*SERIAL_UART_BAUD)-1+0.5))
|
||||
|
Reference in New Issue
Block a user