diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-05-23 02:56:37 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-05-23 22:59:46 +0300 |
commit | 5758e0315f9d27007575293760db6d389c2f4162 (patch) | |
tree | 3594078e4694e12c02f56f927be0d674159112bb /src/inverterctl.cc | |
parent | f0ba39a28bb7a42b0dd9755a6d759702a7e39258 (diff) |
device: separate high-priority thread for interacting with hwsched
Diffstat (limited to 'src/inverterctl.cc')
-rw-r--r-- | src/inverterctl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inverterctl.cc b/src/inverterctl.cc index f071f2e..9e4b2b7 100644 --- a/src/inverterctl.cc +++ b/src/inverterctl.cc @@ -457,6 +457,7 @@ int main(int argc, char *argv[]) { break; } + dev->setWorkerType(voltronic::WorkerType::OneShot); dev->setVerbose(verbose); dev->setTimeout(timeout); |