git.droids-corp.org
/
protos
/
rc_servos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0d09451
)
transmit 6 servos instead of 3
author
Olivier Matz
<zer0@droids-corp.org>
Tue, 8 Oct 2013 22:01:26 +0000
(
00:01
+0200)
committer
Olivier Matz
<zer0@droids-corp.org>
Tue, 8 Oct 2013 22:01:26 +0000
(
00:01
+0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
67661d6
..
f06bc44
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-120,7
+120,7
@@
static void poll_spi(void)
SPDR = byte1_tx.u8;
}
spi_out_idx ++;
- if (spi_out_idx >= NB_SERVO)
+ if (spi_out_idx >= NB_SERVO
* 2
)
spi_out_idx = 0;
/* RX */