mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-12 15:50:36 -08:00
Block writes when buffer is not open
This commit is contained in:
@@ -61,6 +61,8 @@ void Buffer::openFile(String file_name, fs::FS* fs, bool serial, bool is_pcap) {
|
||||
}
|
||||
if (this->fs || this->serial) {
|
||||
open(is_pcap);
|
||||
} else {
|
||||
writing = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user