1
0
Fork 0

Fix ibm4704 protocol with using interrupt

This commit is contained in:
tmk 2014-10-27 21:39:02 +09:00 committed by Jun Wako
parent 5ea50bfb30
commit d42aa47809
4 changed files with 152 additions and 85 deletions

View file

@ -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