fix format warning
This commit is contained in:
parent
0f29e89a50
commit
fc6c8c1e74
|
@ -194,10 +194,10 @@ void handleTime() {
|
|||
server.arg(args[arg])[1]};
|
||||
char buff_m[2][2] = {server.arg(args[arg])[3],
|
||||
server.arg(args[arg])[4]};
|
||||
sprintf(time_all[arg * 2][server.arg("rule").toInt()], "%s",
|
||||
buff_h);
|
||||
sprintf(time_all[arg * 2 + 1][server.arg("rule").toInt()], "%s",
|
||||
buff_m);
|
||||
sprintf(time_all[arg * 2][server.arg("rule").toInt()], "%s%s",
|
||||
buff_h[0], buff_h[1]);
|
||||
sprintf(time_all[arg * 2 + 1][server.arg("rule").toInt()],
|
||||
"%s%s", buff_m[0], buff_m[1]);
|
||||
|
||||
EEPROM.put(server.arg("rule").toInt() * 4 + arg * 64,
|
||||
atoi(time_all[arg * 2][server.arg("rule").toInt()]));
|
||||
|
|
Loading…
Reference in New Issue