eive-obsw/mission/devices/devicedefinitions/ScexDefinitions.cpp

6 lines
185 B
C++
Raw Normal View History

2022-04-09 14:43:06 +02:00
#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;
}