Fix build when HAS_NETWORKING is false on nrf52 (#4237)

(tested on a rak4631 by setting HAS_ETHERNET false when shrinking
image)
This commit is contained in:
geeksville 2024-07-07 05:08:49 -07:00 committed by GitHub
parent 27dfe10689
commit f59d98482f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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