From 4a9eac20b9ad67deb569c5ded15e22d2f51cd0e2 Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Thu, 29 Oct 2015 20:07:16 +0300
Subject: [PATCH] minimal: Use mp_hal_ticks_ms().

---
 minimal/mpconfigport.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/minimal/mpconfigport.h b/minimal/mpconfigport.h
index 6547b1ae1..c585593f1 100644
--- a/minimal/mpconfigport.h
+++ b/minimal/mpconfigport.h
@@ -76,7 +76,7 @@ extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj;
 // We need to provide a declaration/definition of alloca()
 #include <alloca.h>
 
-#define HAL_GetTick() 0
+#define mp_hal_ticks_ms() 0
 int mp_hal_stdin_rx_chr(void);
 void mp_hal_stdout_tx_str(const char *str);
 void mp_hal_stdout_tx_strn(const char *str, mp_uint_t len);
-- 
GitLab