Bert Vermeulen wrote: > > + maxch = (devc->sampleunit == BL_SAMPLEUNIT_8_BITS) ? 8 : NUM_CHANNELS; > > According to > https://github.com/abhishek-kakkar/BeagleLogic/wiki/sysfs-attributes-Reference > you set the max number of channels -- 8 or 13 -- by echo'ing 0 or 1 into > /sys/devices/virtual/misc/beaglelogic/sampleunit
My comment has nothing to do with sigrok, but please just make settings be explicit. Why use 0 and 1 to represent 8 and 13? The extra code required to test for 8 or 13 isn't too overwhelming. //Peter ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ sigrok-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sigrok-devel

