Haptic support

This commit is contained in:
Andre Bernet
2014-04-23 13:18:17 +02:00
parent 2ff45dd73c
commit faa6cd7a3c
11 changed files with 117 additions and 21 deletions
+4
View File
@@ -230,6 +230,10 @@ extern uint8_t RotEncoder ;
void rotencPoll();
#endif
// Haptic
#define HAPTIC_ON PORTG |= (1 << OUT_G_HAPTIC)
#define HAPTIC_OFF PORTG &= ~(1 << OUT_G_HAPTIC)
// USB fake driver
#define usbPlugged() false