add mendel_print_interactive to func.sh for stepping through prints
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
This commit is contained in:
parent
3ee3ee06a1
commit
088f79aa11
15
func.sh
15
func.sh
|
|
@ -188,6 +188,21 @@ mendel_print() {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Print a gcode file. Press a key after each line. Echos commands and replies.
|
||||||
|
mendel_print_interactive() {
|
||||||
|
(
|
||||||
|
for F in "$@"
|
||||||
|
do
|
||||||
|
local IFS=$'\n'
|
||||||
|
for L in $(< $F)
|
||||||
|
do
|
||||||
|
mendel_cmd_hr "$L"
|
||||||
|
read
|
||||||
|
done
|
||||||
|
done
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
# Use the debug interface to directly read memory.
|
# Use the debug interface to directly read memory.
|
||||||
# Usage:
|
# Usage:
|
||||||
# mendel_readsym 0x<address>(:<size>)
|
# mendel_readsym 0x<address>(:<size>)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue