make defaults configurable

This commit is contained in:
fatalerrors
2026-04-15 13:38:08 +02:00
parent 85f02f4498
commit 9a006883b8
11 changed files with 269 additions and 40 deletions

View File

@@ -42,7 +42,7 @@
# pattern : the string to search for in the hexdump output (default is "ca fe")
busy()
{
local pattern="ca fe" delay_ms=0
local pattern="${BUSY_DEFAULT_PATTERN:-ca fe}" delay_ms="${BUSY_DEFAULT_DELAY:-0}"
local PARSED
# Short: h, p:, d:
@@ -109,4 +109,6 @@ busy()
# ------------------------------------------------------------------------------
load_conf "fun"
# EOF