[chronojump] Added testing prints in firmwarecord
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Added testing prints in firmwarecord
- Date: Mon, 22 Sep 2014 18:25:20 +0000 (UTC)
commit c015e4bd41503b6261558ac3a135911adeb089c8
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Sep 22 20:24:43 2014 +0200
Added testing prints in firmwarecord
.../chronopic-firmwarecord.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/chronopic-firmware/chronopic-firmwarecord/chronopic-firmwarecord.in
b/chronopic-firmware/chronopic-firmwarecord/chronopic-firmwarecord.in
index bc2cafa..34a942e 100644
--- a/chronopic-firmware/chronopic-firmwarecord/chronopic-firmwarecord.in
+++ b/chronopic-firmware/chronopic-firmwarecord/chronopic-firmwarecord.in
@@ -500,14 +500,18 @@ def getSerialPorts():
system_name = platform.system()
if system_name == "Windows":
+ print "get serial ports"
import serial
# Scan for available ports.
available = []
for i in range(12):
+ print i
try:
+ print " ok? "
s = serial.Serial(i)
available.append(i)
s.close()
+ print " yes "
except serial.SerialException:
pass
return available
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]