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-11


From: Pawel Kot
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-117-g9c84493
Date: Wed, 26 Jan 2011 15:09:05 +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  9c8449339866dda8f615ea9612da35fd083bb8ae (commit)
      from  f861c26f6b58bf7e0ec493c2f274dd96c3c732a2 (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=9c8449339866dda8f615ea9612da35fd083bb8ae


commit 9c8449339866dda8f615ea9612da35fd083bb8ae
Author: Pawel Kot <address@hidden>
Date:   Wed Jan 26 06:52:53 2011 -0800

    Fix reading first free position for calendar.

diff --git a/ChangeLog b/ChangeLog
index 72fd587..e6bdbbe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 0.6.31 (not released yet)
 =========================
+ * nk6510 driver updates
+    o fix calendar handling issues (few off-by-ones)    (Paweł Kot)
 
 0.6.30
 ======
diff --git a/common/phones/nk6510.c b/common/phones/nk6510.c
index 5ace3bb..4cc514e 100644
--- a/common/phones/nk6510.c
+++ b/common/phones/nk6510.c
@@ -3641,8 +3641,8 @@ static gn_error NK6510_IncomingCalendar(int messagetype, 
unsigned char *message,
                data->calnote->location = (((unsigned int)message[4]) << 8) + 
message[5];
                break;
        case NK6510_SUBCAL_FREEPOS2_RCVD: /* 0x96 */
-               dprintf("First free position received: %i!\n", message[7] * 256 
+ message[8]);
-               data->calnote->location = (((unsigned int)message[7]) << 8) + 
message[8];
+               dprintf("First free position received: %i!\n", message[8] * 256 
+ message[9]);
+               data->calnote->location = (((unsigned int)message[8]) << 8) + 
message[9];
                break;
        case NK6510_SUBCAL_DEL_NOTE_RESP: /* 0x0c */
                dprintf("Succesfully deleted calendar note: %i!\n", message[4] 
* 256 + message[5]);

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

Summary of changes:
 ChangeLog              |    2 ++
 common/phones/nk6510.c |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

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