aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/haptic
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/haptic')
-rw-r--r--drivers/haptic/solenoid.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/haptic/solenoid.h b/drivers/haptic/solenoid.h
index 17f5345bc6..3d8a4c732d 100644
--- a/drivers/haptic/solenoid.h
+++ b/drivers/haptic/solenoid.h
@@ -47,8 +47,7 @@
#ifndef SOLENOID_PINS
# ifdef SOLENOID_PIN
-# define SOLENOID_PINS \
- { SOLENOID_PIN }
+# define SOLENOID_PINS {SOLENOID_PIN}
# else
# error SOLENOID_PINS array not defined
# endif