Rev 113 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 113 | Rev 179 | ||
|---|---|---|---|
| Line 5... | Line 5... | ||
| 5 | 5 | ||
| 6 | #include "rs232.h" |
6 | #include "rs232.h" |
| 7 | #include "zx.h" |
7 | #include "zx.h" |
| 8 | #include "joystick.h" |
8 | #include "joystick.h" |
| 9 | 9 | ||
| - | 10 | //if want Log than comment next string |
|
| - | 11 | #undef LOGENABLE |
|
| - | 12 | ||
| 10 | void joystick_task(void) |
13 | void joystick_task(void) |
| 11 | { |
14 | { |
| 12 | static UBYTE joy_state = 0; |
15 | static UBYTE joy_state = 0; |
| 13 | UBYTE temp = (~JOYSTICK_PIN) & JOYSTICK_MASK; |
16 | UBYTE temp = (~JOYSTICK_PIN) & JOYSTICK_MASK; |
| 14 | 17 | ||