mirror of https://github.com/m-labs/artiq.git
artiq_flash: fix typo.
This commit is contained in:
parent
1c7cb737ca
commit
ebd02c4f43
|
@ -114,9 +114,9 @@ class Programmer:
|
||||||
cmdline = ["openocd"]
|
cmdline = ["openocd"]
|
||||||
if isinstance(self._client, LocalClient):
|
if isinstance(self._client, LocalClient):
|
||||||
cmdline += ["-s", scripts_path()]
|
cmdline += ["-s", scripts_path()]
|
||||||
cmdline += ["-c", "; ".join(script)]
|
cmdline += ["-c", "; ".join(self.script())]
|
||||||
|
|
||||||
cmdline = [arg.replace("{", "{{").replace("}", "}}") for arg in self.script()]
|
cmdline = [arg.replace("{", "{{").replace("}", "}}") for arg in cmdline]
|
||||||
self._client.run_command(cmdline)
|
self._client.run_command(cmdline)
|
||||||
|
|
||||||
def load(self, bitfile, pld):
|
def load(self, bitfile, pld):
|
||||||
|
|
Loading…
Reference in New Issue