r4216 - in trunk/src/target/gsm: include/libgsmd src/util
erin_yueh at sita.openmoko.org
erin_yueh at sita.openmoko.org
Tue Mar 18 06:43:06 CET 2008
Author: erin_yueh
Date: 2008-03-18 06:43:01 +0100 (Tue, 18 Mar 2008)
New Revision: 4216
Modified:
trunk/src/target/gsm/include/libgsmd/misc.h
trunk/src/target/gsm/src/util/shell.c
Log:
gsmd: fixing the missing prototype (Sudharshan S)
Modified: trunk/src/target/gsm/include/libgsmd/misc.h
===================================================================
--- trunk/src/target/gsm/include/libgsmd/misc.h 2008-03-18 05:35:59 UTC (rev 4215)
+++ trunk/src/target/gsm/include/libgsmd/misc.h 2008-03-18 05:43:01 UTC (rev 4216)
@@ -77,4 +77,7 @@
/* Enable vibrator */
extern int lgsm_phone_vibrator(struct lgsm_handle *lh, int enable);
+/* Get Antenna Power status */
+extern int lgsm_get_power_status(struct lgsm_handle *lh);
+
#endif
Modified: trunk/src/target/gsm/src/util/shell.c
===================================================================
--- trunk/src/target/gsm/src/util/shell.c 2008-03-18 05:35:59 UTC (rev 4215)
+++ trunk/src/target/gsm/src/util/shell.c 2008-03-18 05:43:01 UTC (rev 4216)
@@ -686,7 +686,7 @@
lgsm_phone_power(lgsmh, 0);
} else if (!strcmp(buf, "gos")) {
printf("Get Antenna status\n");
- lgsm_get_power_status(lgsmh, 0);
+ lgsm_get_power_status(lgsmh);
} else if (!strcmp(buf, "V")) {
printf("Vibrator-Enable\n");
lgsm_phone_vibrator(lgsmh, 1);
More information about the commitlog
mailing list