Author: sebastien.lelong
Date: Fri Jul  3 10:23:14 2009
New Revision: 1072

Modified:
    trunk/tools/pwm/pwm_ccpx.tmpl

Log:
old pwm_off issue 67, fixed in template !!!

Modified: trunk/tools/pwm/pwm_ccpx.tmpl
==============================================================================
--- trunk/tools/pwm/pwm_ccpx.tmpl       (original)
+++ trunk/tools/pwm/pwm_ccpx.tmpl       Fri Jul  3 10:23:14 2009
@@ -70,7 +70,7 @@

  procedure pwm${num}_off() is
     -- pwm mode off, but keep 2 LSbits values
-   ${ccpxcon}_shadow = ${ccpxcon}_shadow ^ 0b_0000_1100 -- ;; Note
+   ${ccpxcon}_shadow = ${ccpxcon}_shadow & !0b_0000_1100
     $CCPXCON = ${ccpxcon}_shadow
  end procedure
  #end def

--~--~---------~--~----~------------~-------~--~----~
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