]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/beaglelogic/api.c
Random whitespace/cosmetic/typo fixes.
[libsigrok.git] / src / hardware / beaglelogic / api.c
index 92a6e49664112f5c89396d8812cd2fad38f40d3e..95f53159a85fa073209ad6da1ca5f4eef83ca874 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the libsigrok project.
  *
- * Copyright (C) 2014-17 Kumar Abhishek <abhishek@theembeddedkitchen.net>
+ * Copyright (C) 2014-2017 Kumar Abhishek <abhishek@theembeddedkitchen.net>
  *
  * 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))) {