mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
SPI seems to work simultaniously
This commit is contained in:
parent
ec3bb4dc86
commit
7632203d60
@ -252,10 +252,6 @@ void getLoRa() {
|
||||
}
|
||||
|
||||
void logToSD() {
|
||||
#ifdef USE_LORA
|
||||
end_lora();
|
||||
#endif
|
||||
if(begin_SD()){
|
||||
DBG("Logging to SD card.");
|
||||
DynamicJsonDocument doc(24576);
|
||||
for (int i = 0; i < ln; i++) {
|
||||
@ -270,12 +266,7 @@ void logToSD() {
|
||||
logfile.println(outgoingString);
|
||||
logfile.close();
|
||||
|
||||
end_SD();
|
||||
}
|
||||
|
||||
#ifdef USE_LORA
|
||||
begin_lora();
|
||||
#endif
|
||||
}
|
||||
|
||||
void sendESPNOW(uint8_t address) {
|
||||
|
Loading…
Reference in New Issue
Block a user