beaglelogic: Use UINT64_MAX instead of (uint64_t)-1.
This commit is contained in:
parent
71e22ba88f
commit
5a64d1d954
|
@ -330,7 +330,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi)
|
||||||
|
|
||||||
/* If continuous sampling, set the limit_samples to max possible value */
|
/* If continuous sampling, set the limit_samples to max possible value */
|
||||||
if (devc->triggerflags == BL_TRIGGERFLAGS_CONTINUOUS)
|
if (devc->triggerflags == BL_TRIGGERFLAGS_CONTINUOUS)
|
||||||
devc->limit_samples = (uint64_t)-1;
|
devc->limit_samples = UINT64_MAX;
|
||||||
|
|
||||||
/* Configure triggers & send header packet */
|
/* Configure triggers & send header packet */
|
||||||
if ((trigger = sr_session_trigger_get(sdi->session))) {
|
if ((trigger = sr_session_trigger_get(sdi->session))) {
|
||||||
|
|
Loading…
Reference in New Issue