forked from luck/tmp_suning_uos_patched
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:
parent
ac23d64def
commit
f80ac400ee
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user