aboutsummaryrefslogtreecommitdiff
path: root/drivers/haptic/haptic.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/haptic/haptic.h')
-rw-r--r--drivers/haptic/haptic.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/haptic/haptic.h b/drivers/haptic/haptic.h
index 2f6eb31fc..5d3bd1c31 100644
--- a/drivers/haptic/haptic.h
+++ b/drivers/haptic/haptic.h
@@ -34,14 +34,14 @@
34typedef union { 34typedef 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 uint16_t reserved :7; 44 uint16_t reserved : 7;
45 }; 45 };
46} haptic_config_t; 46} haptic_config_t;
47 47