1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-27 04:54:54 +00:00

Remove useless comments

This commit is contained in:
Colin Leroy-Mira 2023-10-03 13:36:04 +02:00
parent fac00cc556
commit e5a7ff4951

View File

@ -300,17 +300,17 @@ SER_OPEN:
; Device (hardware) not found ; Device (hardware) not found
NoDev: lda #SER_ERR_NO_DEVICE NoDev: lda #SER_ERR_NO_DEVICE
ldx #$00 ; return value is char ldx #$00
rts rts
; Invalid parameter ; Invalid parameter
InvParm:lda #SER_ERR_INIT_FAILED InvParm:lda #SER_ERR_INIT_FAILED
ldx #$00 ; return value is char ldx #$00
rts rts
; Baud rate not available ; Baud rate not available
InvBaud:lda #SER_ERR_BAUD_UNAVAIL InvBaud:lda #SER_ERR_BAUD_UNAVAIL
ldx #$00 ; return value is char ldx #$00
rts rts
;---------------------------------------------------------------------------- ;----------------------------------------------------------------------------
@ -325,7 +325,7 @@ SER_GET:
cmp #$FF cmp #$FF
bne :+ bne :+
lda #SER_ERR_NO_DATA lda #SER_ERR_NO_DATA
ldx #$00 ; return value is char ldx #$00
rts rts
: ldy Stopped ; Check for flow stopped : ldy Stopped ; Check for flow stopped
@ -373,7 +373,7 @@ SER_PUT:
ldy SendFreeCnt ; Reload SendFreeCnt after TryToSend ldy SendFreeCnt ; Reload SendFreeCnt after TryToSend
bne :+ bne :+
lda #SER_ERR_OVERFLOW lda #SER_ERR_OVERFLOW
ldx #$00 ; return value is char ldx #$00
rts rts
: ldy SendTail ; Put byte into send buffer : ldy SendTail ; Put byte into send buffer
@ -421,7 +421,7 @@ SER_IOCTL:
rts rts
: lda #SER_ERR_INV_IOCTL : lda #SER_ERR_INV_IOCTL
ldx #$00 ; return value is char ldx #$00
rts rts
;---------------------------------------------------------------------------- ;----------------------------------------------------------------------------