Fixed many typos in output and source code comments

This commit is contained in:
Martin Hauke
2019-07-15 21:14:52 +02:00
committed by Andreas Eversberg
parent c357ab5ad5
commit 75765d49b7
30 changed files with 49 additions and 49 deletions

View File

@@ -76,7 +76,7 @@ void print_help(const char *arg0)
printf(" -Y --traffic-area <traffic area> | list\n");
printf(" NOTE: MUST MATCH WITH YOUR ROAMING SETTINGS IN THE PHONE!\n");
printf(" Your phone will not connect, if country code is different!\n");
printf(" Give short country code and traffic area seperated by comma.\n");
printf(" Give short country code and traffic area separated by comma.\n");
printf(" (Example: Give 'SE,1' for Sweden, traffic area 1)\n");
printf(" Add '!' to force traffic area that is not supported by country.\n");
printf(" (Example: Give 'B,12!' for Belgium, traffic area 12)\n");

View File

@@ -326,7 +326,7 @@ int sms_deliver(nmt_t *nmt, uint8_t ref, const char *orig_address, uint8_t orig_
/* RP length */
*tpdu_length = length - (uint8_t)(tpdu_length - data) - 1;
PDEBUG(DSMS, DEBUG_DEBUG, " -> TPDU lenght = %d\n", *tpdu_length);
PDEBUG(DSMS, DEBUG_DEBUG, " -> TPDU length = %d\n", *tpdu_length);
nmt->sms.mt = 1;
dms_send(nmt, data, length, 1);

View File

@@ -1,5 +1,5 @@
#define SMS_TYPE_UKNOWN 0x0
#define SMS_TYPE_UNKNOWN 0x0
#define SMS_TYPE_INTERNATIONAL 0x1
#define SMS_TYPE_NATIONAL 0x2
#define SMS_TYPE_NETWORK 0x3
@@ -8,7 +8,7 @@
#define SMS_TYPE_ABBREVIATED 0x6
#define SMS_TYPE_RESERVED 0x7
#define SMS_PLAN_UNKOWN 0x0
#define SMS_PLAN_UNKNOWN 0x0
#define SMS_PLAN_ISDN_TEL 0x1
#define SMS_PLAN_DATA 0x3
#define SMS_PLAN_TELEX 0x4