Commit 93dfcc13 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

imu check: not yet used

parent 721cb6f6
......@@ -44,6 +44,11 @@ $file_lba_current = $sysfs_lba_path."lba_current";
$file_lba_end = $sysfs_lba_path."lba_end";
switch($cmd){
case "check_imu":
if (is_link("/dev/imu")) $res = 1;
else $res = 0;
echo $res;
break;
case "camogm_debug":
exec("echo 'debug=/tmp/camogm.log;debuglev=6' > /var/state/camogm_cmd");
echo "$cmd ok";
......
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