eive-obsw/mission/devices/devicedefinitions/ScexDefinitions.cpp
Robin Mueller 808e01dfd3
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
DLE FRAM packets can be read now
2022-04-09 14:43:06 +02:00

6 lines
185 B
C++

#include "ScexDefinitions.h"
uint8_t scex::createCmdByte(ScexCmds cmd, bool tempCheck) {
return (IDLE_BIT_0_DEF_STATE << 7) | (IDLE_BIT_1_DEF_STATE << 6) | (cmd << 1) | tempCheck;
}