[maemo-commits] [maemo-commits] r16329 - projects/haf/trunk/ke-recv/src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Oct 3 13:16:33 EEST 2008
Author: kihamala
Date: 2008-10-03 13:16:33 +0300 (Fri, 03 Oct 2008)
New Revision: 16329

Modified:
   projects/haf/trunk/ke-recv/src/ke-recv.c
Log:
assume closed covers


Modified: projects/haf/trunk/ke-recv/src/ke-recv.c
===================================================================
--- projects/haf/trunk/ke-recv/src/ke-recv.c	2008-10-03 10:16:28 UTC (rev 16328)
+++ projects/haf/trunk/ke-recv/src/ke-recv.c	2008-10-03 10:16:33 UTC (rev 16329)
@@ -1525,11 +1525,14 @@
                 int state;
                 state = get_prop_bool(mmc->cover_udi,
                                       "button.state.value");
+                /* FIXME: enable this code when/if the covers start working.
                 if (state) {
                         mmc->state = S_COVER_CLOSED;
                 } else {
                         mmc->state = S_COVER_OPEN;
                 }
+                */
+                mmc->state = S_COVER_CLOSED;
         }
 
         mmc->unmount_pending_timer_id = 0;


More information about the maemo-commits mailing list