Conversation
mzieg
left a comment
There was a problem hiding this comment.
I love all the new hexdumps :-)
|
|
||
|
|
||
| // endpoint 0 reader to flush when needed | ||
| UsbEndpointReader spectralReader0; |
There was a problem hiding this comment.
I take it this is not actually used?
There was a problem hiding this comment.
It is not. I gotta be honest I have no idea why I thought this might be needed
| set | ||
| { | ||
| byte[] temp = new byte[1]; | ||
| sendCmdReturn(Opcodes.SET_LASER_POWER_ATTENUATOR, (byte)value, buf: temp); |
There was a problem hiding this comment.
I'm not asking you to check for the contents of 'temp' at this point, but for my own traceability:
0 = SUCCESS, 4 = I2C_READ_WR_ERROR, 7 = SETPOINT_RD_BACK_MISMATCH_FLR, 8 = OTP_FUSES_IN_BAD_STATE, 9 = SETPOINT_LOCKED, 10 = UNKNOWN_OTP_FUSE_STATE
| if (isInGaAs) | ||
| { | ||
| Random rand = new Random(); | ||
| if (rand.Next(100) == 75) |
There was a problem hiding this comment.
I love how misleading this is. (Easy to assume it means 75% or 25% :-)
There was a problem hiding this comment.
oh gosh this isn't supposed to be in there
There was a problem hiding this comment.
ok good it's outdated...
No description provided.