Skip to content

Commit

Permalink
Merge pull request #10 from orix-software/develop
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
jedeoric authored Jan 31, 2024
2 parents 8ff6ed7 + f5e337c commit fced686
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/_ch376_set_address.s
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

.export _ch376_set_address
.export ch376_set_address
.import ch376_wait_response

.proc _ch376_set_address
;;@proto void ch376_set_address(unsigned char adress);
Expand All @@ -13,12 +14,14 @@
.proc ch376_set_address
;;@brief set usb address
;;@modifyX
;;@returnA ch376 status
;;@```ca65
;;@` lda #$02
;;@` jsr ch376_set_address
;;@`; Check A with ch376 status
;;@```
ldx #CH376_SET_ADRESS
stx CH376_COMMAND
sta CH376_DATA
rts
jmp ch376_wait_response
.endproc
4 changes: 2 additions & 2 deletions src/_ch376_set_bytes_read.s
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
.export ch376_set_bytes_read
.export ch376_set_bytes_write

.import _ch376_wait_response
.import ch376_wait_response



Expand Down Expand Up @@ -51,7 +51,7 @@ write_entry_point:
sta CH376_DATA
sta CH376_DATA
.endif
jmp _ch376_wait_response
jmp ch376_wait_response
.endproc


Expand Down

0 comments on commit fced686

Please sign in to comment.