Browse Source

add: 补充luat_pm_power_ctrl的空实现

Wendal Chen 3 năm trước cách đây
mục cha
commit
4a4907095e
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      app/port/luat_pm_air101.c

+ 5 - 0
app/port/luat_pm_air101.c

@@ -109,3 +109,8 @@ int luat_pm_dtimer_list(size_t* count, size_t* list) {
     *count = 0;
     return 0;
 }
+
+int luat_pm_power_ctrl(int id, uint8_t onoff) {
+    LLOGW("not support yet");
+    return -1;
+}