X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fbeaglelogic%2Fapi.c;h=95f53159a85fa073209ad6da1ca5f4eef83ca874;hb=5dfa77b54a45b7a767b03c4dce41ea41e62816eb;hp=92a6e49664112f5c89396d8812cd2fad38f40d3e;hpb=71e22ba88fca00d14171ff3c0550b48a3e70204c;p=libsigrok.git diff --git a/src/hardware/beaglelogic/api.c b/src/hardware/beaglelogic/api.c index 92a6e496..95f53159 100644 --- a/src/hardware/beaglelogic/api.c +++ b/src/hardware/beaglelogic/api.c @@ -1,7 +1,7 @@ /* * This file is part of the libsigrok project. * - * Copyright (C) 2014-17 Kumar Abhishek + * Copyright (C) 2014-2017 Kumar Abhishek * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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 (devc->triggerflags == BL_TRIGGERFLAGS_CONTINUOUS) - devc->limit_samples = (uint64_t)-1; + devc->limit_samples = UINT64_MAX; /* Configure triggers & send header packet */ if ((trigger = sr_session_trigger_get(sdi->session))) {