parity helps for some reason
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
parent
f20acf417e
commit
36c9feaf3f
@ -328,6 +328,7 @@ void ObjectFactory::createScexComponents(std::string uartDev, PowerSwitchIF* pwr
|
|||||||
std::optional<power::Switch_t> switchId) {
|
std::optional<power::Switch_t> switchId) {
|
||||||
auto* cookie = new UartCookie(objects::SCEX, uartDev, uart::SCEX_BAUD, 4096);
|
auto* cookie = new UartCookie(objects::SCEX, uartDev, uart::SCEX_BAUD, 4096);
|
||||||
cookie->setTwoStopBits();
|
cookie->setTwoStopBits();
|
||||||
|
cookie->setParityEven();
|
||||||
auto scexUartReader = new ScexUartReader(objects::SCEX_UART_READER);
|
auto scexUartReader = new ScexUartReader(objects::SCEX_UART_READER);
|
||||||
auto scexHandler = new ScexDeviceHandler(objects::SCEX, *scexUartReader, cookie, mountedIF);
|
auto scexHandler = new ScexDeviceHandler(objects::SCEX, *scexUartReader, cookie, mountedIF);
|
||||||
if (onImmediately) {
|
if (onImmediately) {
|
||||||
|
@ -20,7 +20,7 @@ class ScexDeviceHandler : public DeviceHandlerBase {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
static constexpr uint32_t LONG_CD = 180 * 1000;
|
static constexpr uint32_t LONG_CD = 180 * 1000;
|
||||||
static constexpr uint32_t SHORT_CD = 18000;
|
static constexpr uint32_t SHORT_CD = 12000;
|
||||||
std::array<uint8_t, 64> cmdBuf = {};
|
std::array<uint8_t, 64> cmdBuf = {};
|
||||||
|
|
||||||
std::optional<power::Switch_t> switchId;
|
std::optional<power::Switch_t> switchId;
|
||||||
|
Loading…
Reference in New Issue
Block a user