Skip to content

Commit

Permalink
lua, test: add reset_block_uid helper
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Klotzbuecher <mk@mkio.de>
  • Loading branch information
kmarkus committed Jul 21, 2020
1 parent 4265bb9 commit f4a40b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/ubx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1659,6 +1659,10 @@ local function gen_block_uid()
return fmt("i_%08x", block_uid_cnt)
end

function M.reset_block_uid()
block_uid_cnt = 0
end

--- connect - universal connect function
--
-- create connections in different ways. The following cases are supported:
Expand Down

0 comments on commit f4a40b4

Please sign in to comment.