ソースを参照

core: pv print default buffer size set to 8kB

Daniel-Constantin Mierla 10 年 前
コミット
b1a8a62414
1 ファイル変更1 行追加1 行削除
  1. 1 1
      pvapi.c

+ 1 - 1
pvapi.c

@@ -1887,7 +1887,7 @@ void pv_destroy_api(void)
  * - buffer to print PVs
  */
 static char **_pv_print_buffer = NULL;
-#define PV_DEFAULT_PRINT_BUFFER_SIZE 1024
+#define PV_DEFAULT_PRINT_BUFFER_SIZE 8192 /* 8kB */
 static int _pv_print_buffer_size  = PV_DEFAULT_PRINT_BUFFER_SIZE;
 static int _pv_print_buffer_size_active  = 0;
 /* 6 mod params + 4 direct usage from mods */