mirror of https://github.com/Desuuuu/klipper.git
avrsim: Catch simulation errors
Request that simulavr throw an exception on a fatal emulation error instead of exiting the process. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
d4f09bc20d
commit
efbfc2b1ab
|
@ -192,6 +192,7 @@ def main():
|
|||
dev.Load(elffile)
|
||||
dev.SetClockFreq(SIMULAVR_FREQ / speed)
|
||||
sc.Add(dev)
|
||||
pysimulavr.cvar.sysConHandler.SetUseExit(False)
|
||||
trace.load_options()
|
||||
|
||||
# Do optional real-time pacing
|
||||
|
|
Loading…
Reference in New Issue