Răsfoiți Sursa

fix: pm.power函数并不控制EC618系列的io电平, 注释写错了

Wendal Chen 2 ani în urmă
părinte
comite
de3e05c621
1 a modificat fișierele cu 0 adăugiri și 5 ștergeri
  1. 0 5
      luat/modules/luat_lib_pm.c

+ 0 - 5
luat/modules/luat_lib_pm.c

@@ -301,11 +301,6 @@ pm.power(pm.GPS, true)
 -- EC618系列开启pwrkey开机防抖
 -- 注意: 开启后, 复位键就变成关机了!!! pwrkey要长按2秒才能开机
 -- pm.power(pm.PWK_MODE, true)
-
--- EC618系列设置IO电平, 范围 1650 ~ 3400 , 单位毫伏, 步进50mv
--- 注意, 这里的设置优先级会高于硬件IOSEL脚的配置
--- pm.power(pm.IOVLOT_GPIO, 3300)
--- pm.power(pm.IOVLOT_AONGPIO, 3300)
  */
 static int l_pm_power_ctrl(lua_State *L) {
 	uint8_t onoff = 0;