mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 18:10:40 +02:00
rxr: dont update index if fwrite 0
This commit is contained in:
parent
8f7adb130f
commit
9230182e35
@ -1422,7 +1422,9 @@ int ClientInterface::set_num_counters(Interface &socket) {
|
||||
|
||||
int ClientInterface::increment_file_index(Interface &socket) {
|
||||
verifyIdle(socket);
|
||||
if (impl()->getFileWriteEnable()) {
|
||||
LOG(logDEBUG1) << "Incrementing file index";
|
||||
impl()->setFileIndex(impl()->getFileIndex() + 1);
|
||||
}
|
||||
return socket.Send(OK);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user