Wendal Chen 4 лет назад
Родитель
Сommit
630c9aa6d7
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      app/port/luat_mcu_air101.c

+ 4 - 0
app/port/luat_mcu_air101.c

@@ -57,3 +57,7 @@ const char* luat_mcu_unique_id(size_t* t) {
 long luat_mcu_ticks(void) {
     return xTaskGetTickCount();
 }
+
+uint32_t luat_mcu_hz(void) {
+    return configTICK_RATE_HZ;
+}