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>
This commit is contained in:
Eugen Hristev 2017-05-04 15:13:20 +03:00 committed by Jonathan Cameron
parent ac23d64def
commit f80ac400ee
1 changed files with 1 additions and 1 deletions

View File

@ -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"