chiark / gitweb /
do not bother messing with cducharging on panic
authorian <ian>
Sat, 17 May 2008 13:58:37 +0000 (13:58 +0000)
committerian <ian>
Sat, 17 May 2008 13:58:37 +0000 (13:58 +0000)
detpic/points.asm

index 9ccc07bf05ff3e406763ccebfb680116cda7af9f..4b3732c1e1ba8c202f58eab4237ca7848475410f 100644 (file)
@@ -258,10 +258,10 @@ cdu_init @
 ;...
 ;-----
 cdu_off @
-cdu_panichook @
-       pin_l   p0_cdu_enable
        mov_lw  (cdu_inittimeout * 1000) / tickdiv_us + 1
        mov_wf  cducharging
+cdu_panichook @
+       pin_l   p0_cdu_enable
        return
 
 ;-----