Remove more useless code (#9475)
This commit is contained in:
parent
de79d55187
commit
69b484600f
5 changed files with 0 additions and 64 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue