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
@@ -239,6 +239,13 @@ void eeWriteBlockCmp(const void *pointer_ram, uint16_t pointer_eeprom, size_t si
// Debug driver
void debugPutc(const char c);
// Haptic
void hapticOff(void);
void hapticOn(uint32_t pwmPercent);
void hapticInit(void);
#define HAPTIC_OFF hapticOff()
#define HAPTIC_ON hapticOn(100)
extern uint8_t currentTrainerMode;
#endif