M2560 : haptic state inversion + sch update
This commit is contained in:
@@ -181,8 +181,8 @@ void pwrOff();
|
||||
|
||||
// Haptic driver
|
||||
#define hapticOff() // TODO hapticOn() cleaner ...
|
||||
#define HAPTIC_ON() PORTH &= ~(1 << OUT_H_HAPTIC)
|
||||
#define HAPTIC_OFF() PORTH |= (1 << OUT_H_HAPTIC)
|
||||
#define HAPTIC_ON() PORTH |= (1 << OUT_H_HAPTIC)
|
||||
#define HAPTIC_OFF() PORTH &= ~(1 << OUT_H_HAPTIC)
|
||||
|
||||
// Buzzer driver
|
||||
#define buzzerOn() PORTB |= (1 << OUT_B_BUZZER)
|
||||
|
||||
Reference in New Issue
Block a user