diff --git a/linux/devices/ploc/PlocSupvUartMan.cpp b/linux/devices/ploc/PlocSupvUartMan.cpp index cdf74027..047bef59 100644 --- a/linux/devices/ploc/PlocSupvUartMan.cpp +++ b/linux/devices/ploc/PlocSupvUartMan.cpp @@ -294,7 +294,7 @@ void PlocSupvUartManager::stop() { void PlocSupvUartManager::start() { MutexGuard mg(lock); - if (state == InternalState::SLEEPING or state == InternalState::GO_TO_SLEEP) { + if (state != InternalState::SLEEPING and state != InternalState::GO_TO_SLEEP) { return; } semaphore->release();