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
+2 -1
View File
@@ -185,7 +185,8 @@ void pwrOff();
#define usbPlugged() false
// Haptic driver
#define hapticOff() // TODO hapticOn() cleaner ...
#define HAPTIC_ON PORTD &= ~(1 << OUT_D_HAPTIC)
#define HAPTIC_OFF PORTD |= (1 << OUT_D_HAPTIC)
// Rotary encoder driver
#if ROTARY_ENCODERS <= 2