summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Moore <nick@zoic.org>2018-10-25 13:13:08 +1100
committerNick Moore <nick@zoic.org>2018-10-25 13:14:27 +1100
commitbbf833416687c5b52695e1769cb4816256bf62d9 (patch)
tree778ca75facf2fa5b860dfad9b108cf6fe6ea7a2d
parentc9279e8d3a4ee2a397cc1c5c9bf5bbc30a4c5216 (diff)
Fix build without network code
-rw-r--r--ports/atmel-samd/background.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/atmel-samd/background.c b/ports/atmel-samd/background.c
index 385f0c284..3cf6831a3 100644
--- a/ports/atmel-samd/background.c
+++ b/ports/atmel-samd/background.c
@@ -42,7 +42,7 @@ void run_background_tasks(void) {
#ifdef CIRCUITPY_DISPLAYIO
displayio_refresh_display();
#endif
- #ifdef MICROPY_PY_NETWORK
+ #if MICROPY_PY_NETWORK
network_module_background();
#endif
usb_msc_background();