From 91c331f3fdc501da9e981ab547c96a29bf24284b Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 6 Feb 2022 01:01:21 +0800 Subject: [PATCH] pipe: Change the default of DEV_PIPE_MAXSIZE from 256/1024 to 65535 since both values have to typedef pipe_ndx_t to uint16_t, it doesn't make sense to limit the size smaller than 65535 Signed-off-by: Xiang Xiao --- drivers/pipes/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pipes/Kconfig b/drivers/pipes/Kconfig index 71fd6228bc..9b47a9e2fc 100644 --- a/drivers/pipes/Kconfig +++ b/drivers/pipes/Kconfig @@ -14,8 +14,7 @@ if PIPES config DEV_PIPE_MAXSIZE int "Maximum pipe/FIFO size" - default 1024 if !DEFAULT_SMALL - default 256 if DEFAULT_SMALL + default 65535 ---help--- Maximum configurable size of a pipe or FIFO at runtime.