Commit eba59843 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

+set hwclock

parent 3cda0d0c
......@@ -351,6 +351,7 @@ function decodeGet ($encoded_get) {
$a=((float) $value)/1000;
elphel_set_fpga_time ($a); // set FPGA time
exec("date -s ".date("mdHiY.s",(int)$a),$out,$ret); // set system time
exec("hwclock --systohc");
break;
case "imgsrv":
// $toRead["imgsrv"]='http://'.$_SERVER['HTTP_HOST'].':8081/';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment