Definitions.h: shortest allowed count time is 5 us
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
#define FPGA_BUFFER_LOCATION_SIZE (RAW_MODULE_SIZE * sizeof(short))
|
||||
|
||||
#define MIN_COUNT_TIME_IN_US 10
|
||||
#define MIN_COUNT_TIME_IN_US 5
|
||||
#define MIN_FRAME_TIME_HALF_SPEED_IN_US 1000
|
||||
#define MIN_FRAME_TIME_FULL_SPEED_IN_US 470
|
||||
#define MAX_FRAME_TIME 2000
|
||||
|
||||
@@ -72,7 +72,7 @@ class DetectorSettings extends Component<MyProps, MyState> {
|
||||
}
|
||||
|
||||
if (!count_err) {
|
||||
if (Number(count_time) < 0)
|
||||
if (Number(count_time) < 5)
|
||||
count_err = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user