From 9b3f22ac3af7f89f8b70aa2580435fbb9a5cf052 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 23 Dec 2018 21:57:44 -0500 Subject: FS#7814 - Enable RTC Alarms on H300, X5, and M5 Original patch by Alexander Spyridakis Modified by Steve Bavin and Igor Poretsky Keymap fixes by Marianne Arnold Change-Id: I5a252d97d2b05c533e048931f7354f4261f76499 --- firmware/export/config/iaudiom5.h | 3 +++ firmware/export/config/iaudiox5.h | 3 +++ firmware/export/config/iriverh300.h | 3 +++ 3 files changed, 9 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/config/iaudiom5.h b/firmware/export/config/iaudiom5.h index f1ef78ae24..19c77ceb2d 100644 --- a/firmware/export/config/iaudiom5.h +++ b/firmware/export/config/iaudiom5.h @@ -98,6 +98,9 @@ /* define this if you have a real-time clock */ #define CONFIG_RTC RTC_PCF50606 +/* define this if you have a real-time clock alarm */ +#define HAVE_RTC_ALARM + /* Define this if you have an remote lcd */ #define HAVE_REMOTE_LCD diff --git a/firmware/export/config/iaudiox5.h b/firmware/export/config/iaudiox5.h index 62f6d595e3..d74c4472e9 100644 --- a/firmware/export/config/iaudiox5.h +++ b/firmware/export/config/iaudiox5.h @@ -100,6 +100,9 @@ /* define this if you have a real-time clock */ #define CONFIG_RTC RTC_PCF50606 +/* define this if you have a real-time clock alarm */ +#define HAVE_RTC_ALARM + /* Define this if you have an remote lcd */ #define HAVE_REMOTE_LCD diff --git a/firmware/export/config/iriverh300.h b/firmware/export/config/iriverh300.h index ce8f2151f0..0be9d0da7a 100644 --- a/firmware/export/config/iriverh300.h +++ b/firmware/export/config/iriverh300.h @@ -76,6 +76,9 @@ that needs spinups and can cause skips when shaked */ #define HAVE_DISK_STORAGE +/* Define if the device can wake from an RTC alarm */ +#define HAVE_RTC_ALARM + /* Define this if you have an remote lcd */ #define HAVE_REMOTE_LCD -- cgit