fix heartbeat interval, #1131

This commit is contained in:
MichaelDvP
2023-03-20 09:27:26 +01:00
parent 369c7554f2
commit 942de63b83

View File

@@ -656,7 +656,6 @@ void System::network_init(bool refresh) {
}
last_system_check_ = 0; // force the LED to go from fast flash to pulse
send_heartbeat();
// no ethernet present
if (phy_type_ == PHY_type::PHY_TYPE_NONE) {
@@ -713,7 +712,6 @@ void System::system_check() {
digitalWrite(led_gpio_, hide_led_ ? !LED_ON : LED_ON);
#endif
}
send_heartbeat();
} else {
// turn off LED so we're ready to the flashes
if (led_gpio_) {