Revision: 1778
Author: jsuijs
Date: Sat Mar 13 13:26:07 2010
Log: warning fix
http://code.google.com/p/jallib/source/detail?r=1778

Modified:
 /trunk/include/jal/profiler.jal

=======================================
--- /trunk/include/jal/profiler.jal     Fri Dec 25 02:15:19 2009
+++ /trunk/include/jal/profiler.jal     Sat Mar 13 13:26:07 2010
@@ -46,7 +46,7 @@

    ; calculate tick time in 1ns steps
    var dword tick = target_clock
-   tick = 4000_000_000 / tick
+   tick = 2000_000_000 / tick
    case ((t1con & 0x30) / 0x10) of
       1 : block
          tick = tick * 2
@@ -63,7 +63,7 @@
    end case

    tick = tick * TMR1
-   tick = tick / 100 ; scale from ns to .1 us
+   tick = tick / 50 ; scale from ns to .1 us

    print_string(serial_hw_data, m1)
    print_word_dec(serial_hw_data, word(tick / 10))

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to