add vscode settings

This commit is contained in:
carina@hades 2023-04-11 10:11:00 -04:00
parent 4e33fbba28
commit d119acb37e
2 changed files with 19 additions and 2 deletions

17
.vscode/c_cpp_properties.json vendored Normal file
View File

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

View File

@ -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;
}