Word changes to reduce policheck hits (#992)

This commit is contained in:
Galen Nickel 2020-11-06 13:09:53 -08:00 committed by GitHub
parent 5289850351
commit faae7133f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -2,16 +2,16 @@
## Example #example
Use the a wait and the timer to generate a crazy number.
Use a wait and the timer to generate a number.
```blocks
let crazy = 0
let something = 0
for (let i = 0; i < 100; i++) {
control.waitMicros(100)
crazy = control.millis()
crazy += control.deviceSerialNumber()
if (crazy != 0) {
crazy = crazy / 1000000
something = control.millis()
something += control.deviceSerialNumber()
if (something != 0) {
something = something / 1000000
}
}
```

View File

@ -37,7 +37,7 @@ namespace pxsim {
return Math.round(this.angle);
}
// returns the slave motor if any
// returns the secondary motor if any
getSynchedMotor() {
return this._synchedMotor;
}