Applied optimization as per review 42Bastian
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user