瀏覽代碼

Add empty timer functions

Fred Sundvik 8 年之前
父節點
當前提交
83509adc3a
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      tmk_core/common/native/timer.c

+ 10 - 0
tmk_core/common/native/timer.c

@@ -14,4 +14,14 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "timer.h"
+
+void timer_init(void) {}
+
+void timer_clear(void) {}
+
+uint16_t timer_read(void) { return 0; }
+uint32_t timer_read32(void) { return 0; }
+uint16_t timer_elapsed(uint16_t last) { return 0; }
+uint32_t timer_elapsed32(uint32_t last) { return 0; }