Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Small fixes to avoid compilation issues #4

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PCAP.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "SPI.h"
#if defined(ESP32)
#include "FS.h"
#include "SD.h"
#include "sd.h"
#else
#include <SPI.h>
#include <SdFat.h>
Expand Down
5 changes: 3 additions & 2 deletions sd.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

#if !defined(SH_H)
#define SD_H
bool sdcardMounted = false;
#if defined(SDCARD)
#include <FS.h>
Expand Down Expand Up @@ -80,4 +81,4 @@ bool setupSdCard() {
return false;
#endif
}

#endif
4 changes: 2 additions & 2 deletions sniffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <Arduino.h>
#include <TimeLib.h>
#include "FS.h"
#include "SD.h"
#include "sd.h"
#include "SPI.h"
#include "PCAP.h"

Expand Down Expand Up @@ -202,4 +202,4 @@ void sniffer_loop() {
openFile2(); //open new file
}

}
}
Loading