From f2d756af32d014720eb3c11c9e2ee71522204aba Mon Sep 17 00:00:00 2001 From: Paolo Taddonio Date: Thu, 16 Apr 2020 16:28:17 +0100 Subject: [PATCH] Just add the "()" to the startup call --- examples/1-full-electronsample/1-full-electronsample.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/1-full-electronsample/1-full-electronsample.cpp b/examples/1-full-electronsample/1-full-electronsample.cpp index c7a29ac..187b2b0 100644 --- a/examples/1-full-electronsample/1-full-electronsample.cpp +++ b/examples/1-full-electronsample/1-full-electronsample.cpp @@ -25,7 +25,7 @@ void startup() { System.enableFeature(FEATURE_RETAINED_MEMORY); System.enableFeature(FEATURE_RESET_INFO); } -STARTUP(startup); +STARTUP(startup()); // System threaded mode is not required here, but it's a good idea with 0.6.0 and later. // https://docs.particle.io/reference/firmware/electron/#system-thread