From 0b9dc7cf75c30d30557bd2efdbcc0f3ee859cc08 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 7 Jul 2013 22:15:09 +0000 Subject: identify now checks if the downloader is connected to the right device git-svn-id: https://svn.spreadspace.org/pic/trunk@54 a09c6847-51d9-44de-8ef2-e725cf50f3c7 --- downloader/downloader.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'downloader/downloader.py') diff --git a/downloader/downloader.py b/downloader/downloader.py index 8c5f15c..48e6836 100755 --- a/downloader/downloader.py +++ b/downloader/downloader.py @@ -162,7 +162,7 @@ def exec_command(dev, cmd, param, answer): ### Commands -def identify(dev): +def identify(dev, name): data = exec_command(dev, 1, '', '