Fix ibm4704 protocol with using interrupt
This commit is contained in:
parent
5ea50bfb30
commit
d42aa47809
4 changed files with 152 additions and 85 deletions
|
@ -56,7 +56,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/*
|
||||
* Pin interrupt
|
||||
*/
|
||||
#ifdef IBM4704_USE_INT
|
||||
#define IBM4704_INT_INIT() do { \
|
||||
EICRA |= ((1<<ISC11) | \
|
||||
(0<<ISC10)); \
|
||||
|
@ -68,7 +67,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
EIMSK &= ~(1<<INT1); \
|
||||
} while (0)
|
||||
#define IBM4704_INT_VECT INT1_vect
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue