add vscode settings
This commit is contained in:
parent
4e33fbba28
commit
d119acb37e
17
.vscode/c_cpp_properties.json
vendored
Normal file
17
.vscode/c_cpp_properties.json
vendored
Normal 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
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user