CVS: python msp430-dco.py,1.9,1.10
Chris Liechti <[email protected]> Thu, 08 Mar 2007 07:39:11 -0800
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/python
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv11325/python
Modified Files:
msp430-dco.py
Log Message:
wrong min value was printed
Index: msp430-dco.py
===================================================================
RCS file: /cvsroot/mspgcc/python/msp430-dco.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- msp430-dco.py 23 Apr 2006 21:38:02 -0000 1.9
+++ msp430-dco.py 8 Mar 2007 15:39:08 -0000 1.10
@@ -184,8 +184,8 @@
f_all_max = clock.getDCOPlusFreq(0x13, 0xbf, 0x80, 0x80, 0) # should be around 16MHz
else:
raise IOError("unknown MSP430 type %02x" % device)
- out.write('fmin = %8dHz (%s)\n' % (fmin, nice_frequency(f_all_min)))
- out.write('fmax = %8dHz (%s)\n' % (fmax, nice_frequency(f_all_max)))
+ out.write('fmin = %8dHz (%s)\n' % (f_all_min, nice_frequency(f_all_min)))
+ out.write('fmax = %8dHz (%s)\n' % (f_all_max, nice_frequency(f_all_max)))
variables['fmin'] = TYPE_16BIT, f_all_min/1e3
variables['fmax'] = TYPE_16BIT, f_all_max/1e3
return variables
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV