diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..fa75315 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,17 @@ +{ + "configurations": [ + { + "name": "Hades", + "includePath": [ + "${workspaceFolder}/**", + "/usr/local/cern/root_v6.26.06/include/**" + ], + "defines": [], + "compilerPath": "/usr/bin/gcc", + "cStandard": "c17", + "cppStandard": "gnu++17", + "intelliSenseMode": "linux-gcc-x64" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/DAQ/ClassDigitizer.cpp b/DAQ/ClassDigitizer.cpp index 22b5020..040ea97 100644 --- a/DAQ/ClassDigitizer.cpp +++ b/DAQ/ClassDigitizer.cpp @@ -328,8 +328,8 @@ void Digitizer::StartACQ(){ if ( AcqRun ) return; unsigned int bufferSize = CalByteForBuffer(); - if( bufferSize > 80 * 1024 * 1024 ){ - printf("============= buffer size bigger than 80 MB"); + if( bufferSize > 160 * 1024 * 1024 ){ + printf("============= buffer size bigger than 160 MB"); return; }