freemyipod r353 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r352‎ | r353 | r354 >
Date:02:56, 20 December 2010
Author:theseven
Status:new
Tags:
Comment:
embios.py: For the sake of correctness...
Modified paths:
  • /embios/trunk/tools/embios.py (modified) (history)

Diff [purge]

Index: embios/trunk/tools/embios.py
@@ -481,7 +481,7 @@
482482 self.logger.info(" Thread state: "+thread.state+"\n")
483483 self.logger.info(" Block type: "+thread.block_type+"\n")
484484 self.logger.info(" Blocked by: "+self._hex(thread.blocked_by_ptr)+"\n")
485 - self.logger.info(" Priority: "+str(thread.priority)+"/256\n")
 485+ self.logger.info(" Priority: "+str(thread.priority)+"/255\n")
486486 self.logger.info(" Current CPU load: "+str((thread.cpuload*100)/255)+"%\n")
487487 self.logger.info(" CPU time (total): "+str(datetime.timedelta(microseconds=thread.cputime_total))+"\n")
488488 self.logger.info(" Stack address: "+self._hex(thread.stackaddr)+"\n")