Applied optimization as per review 42Bastian

This commit is contained in:
Alex Thissen 2024-02-11 20:59:08 +00:00
parent 1deb9e52ae
commit 8b172e05bc
1 changed files with 1 additions and 2 deletions

View File

@ -76,8 +76,7 @@ SER_CLOSE:
; Disable interrupts and stop timer 4 (serial)
lda #TXOPEN|RESETERR
sta SERCTL
lda #$00 ; Disable count and no reload
sta TIM4CTLA
stz TIM4CTLA ; Disable count and no reload
; Done, return an error code
lda #SER_ERR_OK