gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-28


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-283-g56040d7
Date: Thu, 14 Jul 2011 19:02:14 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  56040d78496c5aafaf30c48bc4353f3f8ba44645 (commit)
      from  bc2c0052462c15f4921ebdb4d303cdc2a209545d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=56040d78496c5aafaf30c48bc4353f3f8ba44645


commit 56040d78496c5aafaf30c48bc4353f3f8ba44645
Author: Daniele Forsi <address@hidden>
Date:   Thu Jul 14 19:37:55 2011 +0200

    Add a self documenting define for Series 30

diff --git a/common/misc.c b/common/misc.c
index 0962d6c..456a7b9 100644
--- a/common/misc.c
+++ b/common/misc.c
@@ -93,12 +93,12 @@ static gn_phone_model models[] = {
        {"1100",  "RH-38",      PM_OLD_DEFAULT },
        {"1100b", "RH-36",      PM_OLD_DEFAULT },
        {"1101",  "RH-75",      PM_OLD_DEFAULT }, /* Yet another 1100 variant, 
untested */
-       {"1110",  "RH-93",      PM_DEFAULT },     /* Series 30, phone supports 
a very limited command set */
-       {"1209",  "RH-105",     PM_OLD_DEFAULT }, /* Series 30, phone supports 
a very limited command set */
+       {"1110",  "RH-93",      PM_DEFAULT_S30 },
+       {"1209",  "RH-105",     PM_DEFAULT_S30 },
        {"1220",  "NKC-1",      PM_OLD_DEFAULT },
        {"1260",  "NKW-1",      PM_OLD_DEFAULT },
        {"1261",  "NKW-1C",     PM_OLD_DEFAULT },
-       {"1280",  "RM-647",     PM_DEFAULT },     /* Series 30, phone supports 
a very limited command set */
+       {"1280",  "RM-647",     PM_DEFAULT_S30 },
        {"1610",  "NHE-5",      PM_OLD_DEFAULT },
        {"1610",  "NHE-5NX",    PM_OLD_DEFAULT },
        {"1611",  "NHE-5",      PM_OLD_DEFAULT },
diff --git a/include/misc.h b/include/misc.h
index 987caf4..8011247 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -80,6 +80,8 @@
 #define PM_OLD_DEFAULT         PM_SPEEDDIAL | PM_SMS | PM_DTMF | PM_KEYBOARD | 
PM_CALENDAR
 #define PM_DEFAULT             PM_OLD_DEFAULT | PM_CALLERGROUP | PM_EXTPBK | 
PM_FOLDERS
 #define PM_DEFAULT_S40_3RD     PM_DEFAULT | PM_SMSFILE | PM_EXTPBK2 | 
PM_EXTCALENDAR
+/* Series 30 phones support a very limited subset of the Series 40 commands */
+#define PM_DEFAULT_S30         PM_DEFAULT_S40_3RD
 
 #define PM_CALLERGROUP         0x0001
 #define PM_NETMONITOR          0x0002

-----------------------------------------------------------------------

Summary of changes:
 common/misc.c  |    6 +++---
 include/misc.h |    2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]