diff options
author | erin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2008-03-18 05:43:01 +0000 |
---|---|---|
committer | erin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2008-03-18 05:43:01 +0000 |
commit | 233f48b64d5224e97f310628400d015b4e631a03 (patch) | |
tree | d9ad15d1e8d1a5b5fac2821de4248d71d4850304 | |
parent | 98fd14b2b48c3387ca236d3a285158bef3597cd8 (diff) |
gsmd: fixing the missing prototype (Sudharshan S)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4216 99fdad57-331a-0410-800a-d7fa5415bdb3
-rw-r--r-- | include/libgsmd/misc.h | 3 | ||||
-rw-r--r-- | src/util/shell.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h index 9100260..54e2940 100644 --- a/include/libgsmd/misc.h +++ b/include/libgsmd/misc.h @@ -77,4 +77,7 @@ extern int lgsm_get_battery(struct lgsm_handle *lh); /* 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 diff --git a/src/util/shell.c b/src/util/shell.c index b0d5b41..39f1cb1 100644 --- a/src/util/shell.c +++ b/src/util/shell.c @@ -686,7 +686,7 @@ int shell_main(struct lgsm_handle *lgsmh, int sync) 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); |