summaryrefslogtreecommitdiffstats
path: root/src/occ_405/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/occ_405/thread')
-rwxr-xr-xsrc/occ_405/thread/chom.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/occ_405/thread/chom.c b/src/occ_405/thread/chom.c
index 979d44d..5e2d6e8 100755
--- a/src/occ_405/thread/chom.c
+++ b/src/occ_405/thread/chom.c
@@ -402,8 +402,10 @@ void chom_main()
chom_data_init();
}
- // only update chom sensors on an active OCC
- if (IS_OCC_STATE_ACTIVE())
+ // only update chom sensors on active, observing, or characterizing OCCs
+ if (IS_OCC_STATE_ACTIVE() ||
+ IS_OCC_STATE_OBSERVATION() ||
+ IS_OCC_STATE_CHARACTERIZATION())
{
chom_update_sensors();
}
OpenPOWER on IntegriCloud