瀏覽代碼

add: 添加设置时区的luat_rtc_timezone,但暂不支持

Wendal Chen 3 年之前
父節點
當前提交
a1e7b78e1e
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      app/port/luat_rtc_air101.c

+ 4 - 0
app/port/luat_rtc_air101.c

@@ -51,3 +51,7 @@ int luat_rtc_timer_stop(int id) {
     tls_rtc_timer_stop();
     return 0;
 }
+
+int luat_rtc_timezone(int* timezone) {
+    return 32; // 暂不支持
+}