[acme-dev] SF.net SVN: acme-dev:[61] python/fox.py

Revision: 61
          http://acme-dev.svn.sourceforge.net/acme-dev/?rev=61&view=rev
Author:   claudyus
Date:     2010-07-13 09:44:01 +0000 (Tue, 13 Jul 2010)

Log Message:
-----------
[fox.py] formatting style fixes

Modified Paths:
--------------
    python/fox.py

Modified: python/fox.py
===================================================================
--- python/fox.py       2010-07-13 09:43:43 UTC (rev 60)
+++ python/fox.py       2010-07-13 09:44:01 UTC (rev 61)
@@ -197,14 +197,14 @@
        direction = 0
 
        def __init__ (self, en, dir, step, limit=0, low_pwr=0):
-               self.en_pin = pin(en, "out")
-               self.dir_pin = pin(dir, "out")
-               self.step_pin = pin(step, "out")
+               self.en_pin     = pin(en, "out")
+               self.dir_pin    = pin(dir, "out")
+               self.step_pin   = pin(step, "out")
                if (low_pwr != 0):
-                       self.lwpwr_pin = pin(low_pwr, "out")
-                       self.have_lowpwr = 1
+                       self.lwpwr_pin  = pin(low_pwr, "out")
+                       self.have_lowpwr= 1
                if (limit != 0):
-                       self.limit_pin = pin(limit, "in")
+                       self.limit_pin  = pin(limit, "in")
                        self.have_limit = 1
                #reset the hw
                self.dir(0)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

Other related posts:

  • » [acme-dev] SF.net SVN: acme-dev:[61] python/fox.py - claudyus