FreeCalypso > hg > freecalypso-tools
diff uptools/atcmd/settime.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 | 19e5a3e2f9c0 |
children |
line wrap: on
line diff
--- a/uptools/atcmd/settime.c Mon Feb 11 05:50:45 2019 +0000 +++ b/uptools/atcmd/settime.c Mon Feb 11 22:17:46 2019 +0000 @@ -33,6 +33,6 @@ sprintf(command, "AT+CCLK=\"%02d/%02d/%02d,%02d:%02d:%02d%+03d\"", tm->tm_year % 100, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, tm->tm_gmtoff / (15*60)); - atinterf_exec_cmd_needok(command, 0, 0); + atinterf_exec_cmd_needok(command, (char *) 0, (void *) 0); exit(0); }