git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14435 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
8d55a9ecc0
commit
1cefc23b78
|
@ -217,7 +217,7 @@ static void continuous_cb(virtual_timer_t *vtp, void *p) {
|
||||||
unsigned r;
|
unsigned r;
|
||||||
|
|
||||||
chSysLockFromISR();
|
chSysLockFromISR();
|
||||||
r = rand() & 255;
|
r = rand() & 15;
|
||||||
chSysUnlockFromISR();
|
chSysUnlockFromISR();
|
||||||
while (r--) {
|
while (r--) {
|
||||||
x++;
|
x++;
|
||||||
|
|
Loading…
Reference in New Issue