6 lines
185 B
C++
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;
|
||
|
}
|