Haptic support

This commit is contained in:
Andre Bernet
2014-04-23 21:58:05 +02:00
parent 95fa0991e6
commit 5c0b8fcb2d
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