From 3f99167f0c986b2cad9558ab28ec0563ad737eab Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 21 Jun 2015 14:31:06 +0200 Subject: o Getting the loading/saving of settings to work. o Doing sm_setup() once only, doesn't depend on the RF parts. --- trygvisio_soil_moisture.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'trygvisio_soil_moisture.ino') diff --git a/trygvisio_soil_moisture.ino b/trygvisio_soil_moisture.ino index d357d77..f824106 100644 --- a/trygvisio_soil_moisture.ino +++ b/trygvisio_soil_moisture.ino @@ -62,6 +62,7 @@ void setup() { #endif // WAIT_FOR_SERIAL_BEFORE_STARING setup_rf(); + sm_setup(); } static void setup_rf() { @@ -103,8 +104,6 @@ static void setup_rf() { // The second parameter is for turning debug printing on for the ACI Commands and Events so they be printed on the Serial lib_aci_init(&aci_state, false); Serial.println(F("lib_aci_init done")); - - sm_setup(); } static boolean rf_started = false; -- cgit v1.2.3