chiark / gitweb /
when toggling booster output pin, use LATC not PORTC to change and check previous...
authorian <ian>
Sun, 27 Apr 2008 23:11:33 +0000 (23:11 +0000)
committerian <ian>
Sun, 27 Apr 2008 23:11:33 +0000 (23:11 +0000)
detpic/nmra-stream.asm
hostside/TODO

index 14d87755a5a7b35d45ad2f14aa4560dd4d3d87e9..c3df85ef0afe8e69d0eb9fa8b264175f14f99dac 100644 (file)
@@ -357,8 +357,8 @@ master_interrupt_high @
 
 toggle_output
        debug   'l'     ; write 'l' to serial port
-       btg_fa  PORTC,0         ; toggle booster output pin
-       bt_fa_if0 PORTC,0
+       btg_fa  LATC,0          ; toggle booster output pin
+       bt_fa_if0 LATC,0
        bra     decide_next_bit
        ; we're in mid-bit:
 ; if transition was 0->1 then we are mid-bit, so copy transmitbit to
index b5f24043e9b39e157fb9763b4cb4af625dcaf8c1..8b4c4ca22dafe6b4a21e4b9d0ae09c01d8999d54 100644 (file)
@@ -3,8 +3,6 @@ bugs
        multiple motions handling is wrong: deadline miscalculated etc.
                deadline should be start deadline and we should sub length
 
-       in nmra-stream.asm:toggle_output should use LATC not PORTC?
-
 
 want to
        document commands [!]movfeat and speed