diff options
Diffstat (limited to 'occ_manager.cpp')
-rw-r--r-- | occ_manager.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/occ_manager.cpp b/occ_manager.cpp index 67e96a6..040676b 100644 --- a/occ_manager.cpp +++ b/occ_manager.cpp @@ -82,23 +82,6 @@ void Manager::statusCallBack(bool status) } activeCount += status ? 1 : -1; - - // If all the OCCs are bound, then start error detection - if (activeCount == statusObjects.size()) - { - for (const auto& occ: statusObjects) - { - occ->addErrorWatch(); - } - } - else if (!status) - { - // If some OCCs are not bound yet, those will be a NO-OP - for (const auto& occ: statusObjects) - { - occ->removeErrorWatch(); - } - } } #ifdef I2C_OCC |