소스 검색

no message

MS-PDRLKVHCADMG\Administrator 5 년 전
부모
커밋
dbfeefcac1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/application/controllers/Lampcontrol.php

+ 1 - 1
api/application/controllers/Lampcontrol.php

@@ -694,7 +694,7 @@ class Lampcontrol extends Base_Controller {
             }elseif ($key == 'load_current') {
                 $word = substr('0000'.base_convert(round($value/10), 10, 16), -4);
             }elseif ($key == 'induction_delay') {
-                $word = substr('00'.base_convert(round($value/10), 10, 16), -4);
+                $word = substr('00'.base_convert(round($value/10), 10, 16), -2);
             }else{
                 $word = substr('00'.base_convert($value, 10, 16), -2);
             }