g2:fix for period in trigger cont

This commit is contained in:
maliakal_d 2020-09-24 15:43:14 +02:00
parent 0f65633ea3
commit d96352f2ae

View File

@ -994,7 +994,7 @@ int64_t getPeriod() {
// trigger
if (getTiming() == TRIGGER_EXPOSURE) {
// #frames limited in cont trigger mode
return periodReg;
return periodReg / (1E-9 * systemFrequency);
}
// auto
return get64BitReg(SET_PERIOD_LSB_REG, SET_PERIOD_MSB_REG) /