mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Remove useless comments
This commit is contained in:
parent
df4902157a
commit
330b1ab3f9
@ -300,17 +300,17 @@ SER_OPEN:
|
||||
|
||||
; Device (hardware) not found
|
||||
NoDev: lda #SER_ERR_NO_DEVICE
|
||||
ldx #$00 ; return value is char
|
||||
ldx #$00
|
||||
rts
|
||||
|
||||
; Invalid parameter
|
||||
InvParm:lda #SER_ERR_INIT_FAILED
|
||||
ldx #$00 ; return value is char
|
||||
ldx #$00
|
||||
rts
|
||||
|
||||
; Baud rate not available
|
||||
InvBaud:lda #SER_ERR_BAUD_UNAVAIL
|
||||
ldx #$00 ; return value is char
|
||||
ldx #$00
|
||||
rts
|
||||
|
||||
;----------------------------------------------------------------------------
|
||||
@ -325,7 +325,7 @@ SER_GET:
|
||||
cmp #$FF
|
||||
bne :+
|
||||
lda #SER_ERR_NO_DATA
|
||||
ldx #$00 ; return value is char
|
||||
ldx #$00
|
||||
rts
|
||||
|
||||
: ldy Stopped ; Check for flow stopped
|
||||
@ -373,7 +373,7 @@ SER_PUT:
|
||||
ldy SendFreeCnt ; Reload SendFreeCnt after TryToSend
|
||||
bne :+
|
||||
lda #SER_ERR_OVERFLOW
|
||||
ldx #$00 ; return value is char
|
||||
ldx #$00
|
||||
rts
|
||||
|
||||
: ldy SendTail ; Put byte into send buffer
|
||||
@ -421,7 +421,7 @@ SER_IOCTL:
|
||||
rts
|
||||
|
||||
: lda #SER_ERR_INV_IOCTL
|
||||
ldx #$00 ; return value is char
|
||||
ldx #$00
|
||||
rts
|
||||
|
||||
;----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user