mirror of
https://github.com/cc65/cc65.git
synced 2024-09-27 04:54:54 +00:00
Applied optimization as per review 42Bastian
This commit is contained in:
parent
1deb9e52ae
commit
8b172e05bc
@ -76,8 +76,7 @@ SER_CLOSE:
|
|||||||
; Disable interrupts and stop timer 4 (serial)
|
; Disable interrupts and stop timer 4 (serial)
|
||||||
lda #TXOPEN|RESETERR
|
lda #TXOPEN|RESETERR
|
||||||
sta SERCTL
|
sta SERCTL
|
||||||
lda #$00 ; Disable count and no reload
|
stz TIM4CTLA ; Disable count and no reload
|
||||||
sta TIM4CTLA
|
|
||||||
|
|
||||||
; Done, return an error code
|
; Done, return an error code
|
||||||
lda #SER_ERR_OK
|
lda #SER_ERR_OK
|
||||||
|
Loading…
Reference in New Issue
Block a user