meier/master #33

Merged
muellerr merged 24 commits from meier/master into develop 2021-05-17 14:59:47 +02:00
Showing only changes of commit 261f16f15b - Show all commits

View File

@ -83,17 +83,17 @@ ReturnValue_t SusHandler::buildCommandFromCommand(
* measurement the setup has to be rewritten
*/
// cmdBuffer[0] = SUS::RESET_FIFO;
// cmdBuffer[1] = SUS::SETUP_DEFINITION;
cmdBuffer[0] = SUS::SETUP_DEFINITION;
// wirte one dummy byte here
// cmdBuffer[2] = SUS::CONVERT_TEMPERATURE;
cmdBuffer[0] = SUS::CONVERT_DIFF_CHANNEL_0;
cmdBuffer[1] = SUS::DUMMY_BYTE;
cmdBuffer[2] = SUS::CONVERT_DIFF_CHANNEL_1;
cmdBuffer[3] = SUS::DUMMY_BYTE;
cmdBuffer[4] = SUS::CONVERT_DIFF_CHANNEL_2;
cmdBuffer[5] = SUS::DUMMY_BYTE;
cmdBuffer[6] = SUS::CONVERT_DIFF_CHANNEL_3;
cmdBuffer[7] = SUS::DUMMY_BYTE;
cmdBuffer[1] = SUS::CONVERT_DIFF_CHANNEL_0;
cmdBuffer[2] = SUS::DUMMY_BYTE;
cmdBuffer[3] = SUS::CONVERT_DIFF_CHANNEL_1;
cmdBuffer[4] = SUS::DUMMY_BYTE;
cmdBuffer[5] = SUS::CONVERT_DIFF_CHANNEL_2;
cmdBuffer[6] = SUS::DUMMY_BYTE;
cmdBuffer[7] = SUS::CONVERT_DIFF_CHANNEL_3;
cmdBuffer[8] = SUS::DUMMY_BYTE;
cmdBuffer[9] = SUS::CONVERT_DIFF_CHANNEL_4;
cmdBuffer[10] = SUS::DUMMY_BYTE;
cmdBuffer[11] = SUS::CONVERT_DIFF_CHANNEL_5;