Comment clarifying mistake in LEGO docs.

This commit is contained in:
Evelyn Eastmond 2019-06-14 14:48:25 -04:00
parent ca408dfb04
commit cbb99e2ee6

View file

@ -770,7 +770,7 @@ class EV3 {
for (let i = 0; i < 4; i++) {
cmds[index + 0] = Ev3Opcode.OPOUTPUT_GET_COUNT;
cmds[index + 1] = Ev3Args.LAYER;
cmds[index + 2] = i; // PORT TODO: explain incorrect documentation as 'Output bit field'
cmds[index + 2] = i; // PORT (incorrectly specified as 'Output bit field' in docs)
cmds[index + 3] = Ev3ParamEncoding.GLOBAL_ONE_BYTE;
cmds[index + 4] = sensorCount * 4; // GLOBAL INDEX
index += 5;