kopia lustrzana https://github.com/meshtastic/firmware
Fix build when HAS_NETWORKING is false on nrf52 (#4237)
(tested on a rak4631 by setting HAS_ETHERNET false when shrinking image)pull/4245/head
rodzic
27dfe10689
commit
f59d98482f
|
|
@ -12,6 +12,8 @@
|
|||
#include <RAK13800_W5100S.h>
|
||||
#include <SPI.h>
|
||||
|
||||
#if HAS_NETWORKING
|
||||
|
||||
#ifndef DISABLE_NTP
|
||||
#include <NTPClient.h>
|
||||
|
||||
|
|
@ -183,3 +185,5 @@ bool isEthernetAvailable()
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Ładowanie…
Reference in New Issue