mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2026-08-03 09:21:38 -07:00
Sd+Serial save() in buffer_obj / out of sd_obj
This commit is contained in:
@@ -276,11 +276,7 @@ bool SDInterface::checkDetectPin() {
|
||||
}
|
||||
|
||||
void SDInterface::main() {
|
||||
if (this->supported) {
|
||||
//Serial.println("Saving packet...");
|
||||
buffer_obj.forceSave(&SD);
|
||||
}
|
||||
else {
|
||||
if (!this->supported) {
|
||||
if (checkDetectPin()) {
|
||||
delay(100);
|
||||
this->initSD();
|
||||
|
||||
Reference in New Issue
Block a user