1
0
Fork 0

Keyboard: Update the serial.c of crkbd based on the helix-serial.c (#4349)

This commit is contained in:
Kosuke Adachi 2018-11-05 03:46:26 +09:00 committed by Drashna Jaelre
parent e9fd42df71
commit 756d92c1a0
6 changed files with 277 additions and 105 deletions

View file

@ -1,10 +1,4 @@
#pragma once
/* Soft Serial defines */
#define SERIAL_PIN_DDR DDRD
#define SERIAL_PIN_PORT PORTD
#define SERIAL_PIN_INPUT PIND
#define SERIAL_PIN_MASK _BV(PD2)
#define SERIAL_PIN_INTERRUPT INT2_vect
#ifndef SOFT_SERIAL_PIN
#define SOFT_SERIAL_PIN D2
#define SERIAL_USE_MULTI_TRANSACTION
#endif