public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
413ea04
)
z80softspi: correct comments
author
Alan Cox
<alan@linux.intel.com>
Tue, 8 Jan 2019 01:46:47 +0000
(
01:46
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 8 Jan 2019 01:46:47 +0000
(
01:46
+0000)
Kernel/dev/z80softspi.s
patch
|
blob
|
history
diff --git
a/Kernel/dev/z80softspi.s
b/Kernel/dev/z80softspi.s
index
7d9b204
..
dfb1caa
100644
(file)
--- a/
Kernel/dev/z80softspi.s
+++ b/
Kernel/dev/z80softspi.s
@@
-107,7
+107,7
@@
spi_tx_loop:
;
; The basic idea is that we keep the port in C and each needed byte
; value in a register. The values are all precomputed so we don't
-; touch other bits and so we can different modes
+; touch other bits and so we can
use
different modes
;
spi0_bitbang_tx:
ld b,#8 ; 7
@@
-120,7
+120,7
@@
spi0_bit_tx:
ret ; 10
spi0_tx0:
out (c),e ; 11 low | 0
- out (c),d ; 11
low | 1
(sample)
+ out (c),d ; 11
high | 1
(sample)
djnz spi0_bit_tx ; 13/8
ret
;