* RX channel ID starts with fixed value #1277
* fix static IP for Ethernet
This commit is contained in:
lumapu 2023-12-17 01:01:20 +01:00
parent 78b603e373
commit d62b53019a
5 changed files with 13 additions and 16 deletions

View file

@ -40,11 +40,7 @@ void app::setup() {
#endif
#ifdef ETHERNET
delay(1000);
DPRINT(DBG_INFO, F("mEth setup..."));
DSERIAL.flush();
mEth.setup(mConfig, &mTimestamp, [this](bool gotIp) { this->onNetwork(gotIp); }, [this](bool gotTime) { this->onNtpUpdate(gotTime); });
DBGPRINTLN(F("done..."));
DSERIAL.flush();
#endif // ETHERNET
#if !defined(ETHERNET)
@ -149,7 +145,6 @@ void app::regularTickers(void) {
#if !defined(ETHERNET)
//everySec([this]() { mImprov.tickSerial(); }, "impro");
#endif
// every([this]() { mPayload.simulation();}, 15, "simul");
}
#if defined(ETHERNET)