From 5b865de73afc6e577187e6ccd545749351a02c37 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 24 Dec 2013 15:24:40 +0100 Subject: hwstub: add delay function Change-Id: Iab208ed59a9a2540a64b190357411d3de28f288e --- utils/hwstub/tools/init.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'utils/hwstub/tools/init.lua') diff --git a/utils/hwstub/tools/init.lua b/utils/hwstub/tools/init.lua index 74f610a2ee..4c62de007f 100644 --- a/utils/hwstub/tools/init.lua +++ b/utils/hwstub/tools/init.lua @@ -108,4 +108,11 @@ end -- DEV = hwstub.dev +-- +-- Misc +-- +function hwstub.mdelay(msec) + hwstub.udelay(msec * 1000) +end + require "lua/load" -- cgit v1.2.3