diff options
Diffstat (limited to 'drivers/haptic/haptic.h')
| -rw-r--r-- | drivers/haptic/haptic.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/haptic/haptic.h b/drivers/haptic/haptic.h index 9223ad1c8..ba8e0d20b 100644 --- a/drivers/haptic/haptic.h +++ b/drivers/haptic/haptic.h | |||
| @@ -34,13 +34,13 @@ | |||
| 34 | typedef union { | 34 | typedef union { |
| 35 | uint32_t raw; | 35 | uint32_t raw; |
| 36 | struct { | 36 | struct { |
| 37 | bool enable : 1; | 37 | bool enable : 1; |
| 38 | uint8_t feedback : 2; | 38 | uint8_t feedback : 2; |
| 39 | uint8_t mode : 7; | 39 | uint8_t mode : 7; |
| 40 | bool buzz : 1; | 40 | bool buzz : 1; |
| 41 | uint8_t dwell : 7; | 41 | uint8_t dwell : 7; |
| 42 | bool cont : 1; | 42 | bool cont : 1; |
| 43 | uint8_t amplitude : 8; | 43 | uint8_t amplitude : 8; |
| 44 | uint8_t reserved : 5; | 44 | uint8_t reserved : 5; |
| 45 | }; | 45 | }; |
| 46 | } haptic_config_t; | 46 | } haptic_config_t; |
