summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config-creativezv.h2
-rw-r--r--firmware/export/config-creativezvm.h2
-rw-r--r--firmware/export/config-creativezvm60gb.h2
-rw-r--r--firmware/export/config-ondavx747.h2
-rw-r--r--firmware/export/config-ondavx767.h2
-rw-r--r--firmware/target/arm/tms320dm320/creative-zvm/button-target.h2
6 files changed, 7 insertions, 5 deletions
diff --git a/firmware/export/config-creativezv.h b/firmware/export/config-creativezv.h
index 78055018d1..b8850a3af6 100644
--- a/firmware/export/config-creativezv.h
+++ b/firmware/export/config-creativezv.h
@@ -73,7 +73,7 @@
#define HAVE_LCD_ENABLE
#define CONFIG_KEYPAD CREATIVEZV_PAD
-#define HAS_BUTTON_HOLD
+#define HAVE_BUTTON_HOLD
#define HAVE_HEADPHONE_DETECTION
//#define HAVE_TOUCHPAD
diff --git a/firmware/export/config-creativezvm.h b/firmware/export/config-creativezvm.h
index bc6715b4dc..4c1f4624b3 100644
--- a/firmware/export/config-creativezvm.h
+++ b/firmware/export/config-creativezvm.h
@@ -73,7 +73,7 @@
#define HAVE_LCD_ENABLE
#define CONFIG_KEYPAD CREATIVEZVM_PAD
-#define HAS_BUTTON_HOLD
+#define HAVE_BUTTON_HOLD
#define HAVE_HEADPHONE_DETECTION
//#define HAVE_TOUCHPAD
diff --git a/firmware/export/config-creativezvm60gb.h b/firmware/export/config-creativezvm60gb.h
index 93fb2e5ec0..3f98059a28 100644
--- a/firmware/export/config-creativezvm60gb.h
+++ b/firmware/export/config-creativezvm60gb.h
@@ -73,7 +73,7 @@
#define HAVE_LCD_ENABLE
#define CONFIG_KEYPAD CREATIVEZVM_PAD
-#define HAS_BUTTON_HOLD
+#define HAVE_BUTTON_HOLD
#define HAVE_HEADPHONE_DETECTION
//#define HAVE_TOUCHPAD
diff --git a/firmware/export/config-ondavx747.h b/firmware/export/config-ondavx747.h
index 6da9725aab..5144631416 100644
--- a/firmware/export/config-ondavx747.h
+++ b/firmware/export/config-ondavx747.h
@@ -67,7 +67,7 @@
#define HAVE_LCD_ENABLE
#define CONFIG_KEYPAD ONDAVX747_PAD
-#define HAS_BUTTON_HOLD
+#define HAVE_BUTTON_HOLD
#define HAVE_TOUCHSCREEN
#define HAVE_BUTTON_DATA
diff --git a/firmware/export/config-ondavx767.h b/firmware/export/config-ondavx767.h
index 6a44bf4aff..9d3ed9d7ec 100644
--- a/firmware/export/config-ondavx767.h
+++ b/firmware/export/config-ondavx767.h
@@ -67,7 +67,7 @@
//#define HAVE_LCD_ENABLE
#define CONFIG_KEYPAD ONDAVX767_PAD
-#define HAS_BUTTON_HOLD
+#define HAVE_BUTTON_HOLD
/* Define this if you do software codec */
#define CONFIG_CODEC SWCODEC
diff --git a/firmware/target/arm/tms320dm320/creative-zvm/button-target.h b/firmware/target/arm/tms320dm320/creative-zvm/button-target.h
index 897fa9529c..173d98bf30 100644
--- a/firmware/target/arm/tms320dm320/creative-zvm/button-target.h
+++ b/firmware/target/arm/tms320dm320/creative-zvm/button-target.h
@@ -63,6 +63,8 @@
#define POWEROFF_BUTTON BUTTON_POWER
#define POWEROFF_COUNT 10
+#define HAS_BUTTON_HOLD
+
void button_init_device(void);
int button_read_device(void);
bool headphones_inserted(void);