diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2017-05-04 15:13:20 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-05-07 16:08:04 +0100 |
commit | f80ac400ee762bba3a420a4a537ce6ae7854b657 (patch) | |
tree | 939c9dd7e3a3ccb5d0d3961f129a4e4b4bbc5329 /tools | |
parent | ac23d64defcdce0dad93e10ac7f202430f713729 (diff) |
iio: tools: generic_buffer: increase trigger length
Increased trigger length to 64 in order to cope with trigger names
like fc030000.adc-dev0-external-rising
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/iio/iio_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/iio/iio_utils.h b/tools/iio/iio_utils.h index 780f2014f8fa..8b379da26e35 100644 --- a/tools/iio/iio_utils.h +++ b/tools/iio/iio_utils.h @@ -13,7 +13,7 @@ #include <stdint.h> /* Made up value to limit allocation sizes */ -#define IIO_MAX_NAME_LENGTH 30 +#define IIO_MAX_NAME_LENGTH 64 #define FORMAT_SCAN_ELEMENTS_DIR "%s/scan_elements" #define FORMAT_TYPE_FILE "%s_type" |