FreeCalypso > hg > freecalypso-tools
comparison uptools/atcmd/smwrite.c @ 467:dc2fd8e6f42c
uptools/atcmd: null pointer passing fixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 11 Feb 2019 22:17:46 +0000 |
parents | ce3b57b8920b |
children |
comparison
equal
deleted
inserted
replaced
466:5bcf12be0834 | 467:dc2fd8e6f42c |
---|---|
128 char **argv; | 128 char **argv; |
129 { | 129 { |
130 process_cmdline(argc, argv); | 130 process_cmdline(argc, argv); |
131 atinterf_init(); | 131 atinterf_init(); |
132 /* enable verbose error messages */ | 132 /* enable verbose error messages */ |
133 atinterf_exec_cmd_needok("AT+CMEE=2", 0, 0); | 133 atinterf_exec_cmd_needok("AT+CMEE=2", (char *) 0, (void *) 0); |
134 /* set PDU mode */ | 134 /* set PDU mode */ |
135 atinterf_exec_cmd_needok("AT+CMGF=0", 0, 0); | 135 atinterf_exec_cmd_needok("AT+CMGF=0", (char *) 0, (void *) 0); |
136 /* process stdin */ | 136 /* process stdin */ |
137 while (process_record()) | 137 while (process_record()) |
138 ; | 138 ; |
139 exit(0); | 139 exit(0); |
140 } | 140 } |