Skip to content

Commit a8901ce

Browse files
Merge pull request #41 from nasa-jpl/dloret-fix-read-timeout
Fixes units of jsd_read timeout in Process()
2 parents 313f408 + 5c118f7 commit a8901ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/manager.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ bool fastcat::Manager::ConfigFromYaml(YAML::Node node)
208208
bool fastcat::Manager::Process()
209209
{
210210
for (auto it = jsd_map_.begin(); it != jsd_map_.end(); ++it) {
211-
jsd_read(it->second, 1e9 / target_loop_rate_hz_);
211+
jsd_read(it->second, 1e6 / target_loop_rate_hz_);
212212
}
213213

214214
// Pass the PDO read time for consistent timestamping before the device Read()

0 commit comments

Comments
 (0)