瀏覽代碼

add:去除printf打印

Dozingfiretruck 4 年之前
父節點
當前提交
103f829f83
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      luat/modules/luat_lib_pwm.c

+ 0 - 1
luat/modules/luat_lib_pwm.c

@@ -58,7 +58,6 @@ log.info("pwm.get(0)",pwm.capture(0))
 static int l_pwm_capture(lua_State *L) {
     int pwmH,pwmL;
     int pulse = luat_pwm_capture(luaL_checkinteger(L, 1),luaL_checkinteger(L, 2),&pwmH,&pwmL);
-    printf("pwmH %d,pwmL %d\n",pwmH,pwmL);
     lua_pushnumber(L,pulse);
     return 1;
 }