rad sensor working
This commit is contained in:
@ -77,9 +77,11 @@ ReturnValue_t SusHandler::buildCommandFromCommand(
|
||||
return RETURN_OK;
|
||||
}
|
||||
case(SUS::START_CONVERSION): {
|
||||
cmdBuffer[0] = SUS::CONVERSION_DEFINITION;
|
||||
/* First the fifo will be reset before a new conversion is initiated */
|
||||
cmdBuffer[0] = SUS::RESET_DEFINITION;
|
||||
cmdBuffer[1] = SUS::CONVERSION_DEFINITION;
|
||||
rawPacket = cmdBuffer;
|
||||
rawPacketLen = 1;
|
||||
rawPacketLen = 2;
|
||||
return RETURN_OK;
|
||||
}
|
||||
case(SUS::READ_CONVERSIONS): {
|
||||
|
Reference in New Issue
Block a user