mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-10-23 02:11:50 +00:00
Add board loop hook for periodic work
This commit is contained in:
1 parent
0886259701
commit
61be70849a
3 files changed
+8
No files matched your search
@@ -165,6 +165,8 @@ void loop() {
|
||||
command[0] = 0; // reset command buffer
|
||||
}
|
||||
|
||||
board.loop(); // let the board feed its watchdog, run periodic housekeeping
|
||||
|
||||
#ifdef ETHERNET_ENABLED
|
||||
ethernet_loop_maintain();
|
||||
if (ethernet_read_line(ethernet_command, sizeof(ethernet_command))) {
|
||||
|
||||
Reference in new issue
Block a user