not that it matters
All checks were successful
EIVE/eive-obsw/pipeline/pr-v3.0.0-dev This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-v3.0.0-dev This commit looks good
This commit is contained in:
parent
6a2d5b8161
commit
72b5567f73
@ -59,7 +59,7 @@ void adis1650x::prepareWriteRegCommand(uint8_t regStart, uint16_t val, uint8_t*
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
outBuf[0] = regStart | adis1650x::WRITE_MASK;
|
outBuf[0] = regStart | adis1650x::WRITE_MASK;
|
||||||
outBuf[1] = val & 0Xff;
|
outBuf[1] = val & 0xff;
|
||||||
outBuf[2] = (regStart + 1) | adis1650x::WRITE_MASK;
|
outBuf[2] = (regStart + 1) | adis1650x::WRITE_MASK;
|
||||||
outBuf[3] = (val >> 8) & 0xff;
|
outBuf[3] = (val >> 8) & 0xff;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user