1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-12-22 07:28:53 -05:00

Update temp.ino

This commit is contained in:
Jarno Lehtinen 2018-12-07 13:10:59 +02:00 committed by GitHub
parent f69815693e
commit 952046f071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,8 +48,7 @@
volatile uint8_t output1;
volatile uint8_t output2;
volatile uint16_t last_interrupt;
volatile uint8_t mode = 0; // 0 = 3-joystick mode, 1 = 4-joystick mode
volatile uint8_t last_joystick = 1;
volatile uint8_t *ptr;
ISR(INT2_vect, ISR_NAKED) { // rising edge, output joystick 3
asm volatile(