Explorar el Código

add:win32添加luat_mcu_ticks

Dozingfiretruck hace 3 años
padre
commit
f47e523f1f
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      bsp/win32/port/luat_mcu_win32.c

+ 7 - 0
bsp/win32/port/luat_mcu_win32.c

@@ -0,0 +1,7 @@
+#include "luat_base.h"
+#include "luat_mcu.h"
+#include "windows.h"
+
+long luat_mcu_ticks(void) {
+    return GetTickCount();
+}