z80sio: fix smart serial wrap bug
authorAlan Cox <alan@linux.intel.com>
Wed, 16 Jan 2019 14:51:49 +0000 (14:51 +0000)
committerAlan Cox <alan@linux.intel.com>
Wed, 16 Jan 2019 14:51:49 +0000 (14:51 +0000)
Kernel/dev/z80sio.s

index a5829cb..458c60a 100644 (file)
@@ -63,7 +63,7 @@ sio'X'_txd:
        ld hl,(sio'X'_txp)
        ld a,(hl)
        out (DP),a
-       inc hl
+       inc l
        set 7,l
        ld (sio'X'_txp),hl
        pop hl
@@ -246,5 +246,3 @@ _sio'X'_error_get:
 
 
 .endm
-
-       
\ No newline at end of file