From f7224a15882cefdb6a226dc205d949e9e796503c Mon Sep 17 00:00:00 2001 From: Marcus Date: Sat, 19 Oct 2024 00:44:36 +0200 Subject: [PATCH] playing around --- Arduino/CanGrow/CanGrow.ino | 8 ++++---- Arduino/CanGrow/include/CanGrow.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Arduino/CanGrow/CanGrow.ino b/Arduino/CanGrow/CanGrow.ino index 713b0f0..393f003 100644 --- a/Arduino/CanGrow/CanGrow.ino +++ b/Arduino/CanGrow/CanGrow.ino @@ -124,8 +124,8 @@ void setup() { LFS_init(); Serial.printf(":: Before config.test: %s\n", config.test); - Serial.print(":: Before configWifi.ssid: "); - Serial.println(configWifi.ssid); + Serial.print(":: Before configWifi.dhcp: "); + Serial.println(configWifi.dhcp); loadConfig(); if(!existFile(CANGROW_CFG)) { writeFile(CANGROW_CFG, "asd"); @@ -134,8 +134,8 @@ void setup() { } Serial.printf(":: After config.test: %s\n", config.test); - Serial.print(":: After configWifi.ssid: "); - Serial.println(configWifi.ssid); + Serial.print(":: After configWifi.dhcp: "); + Serial.println(configWifi.dhcp); // read the configfile from LittleFS /* File lfs_configfile = LittleFS.open(configfile, "r"); if(!lfs_configfile) { diff --git a/Arduino/CanGrow/include/CanGrow.h b/Arduino/CanGrow/include/CanGrow.h index 9b0ee71..d4ac8e4 100644 --- a/Arduino/CanGrow/include/CanGrow.h +++ b/Arduino/CanGrow/include/CanGrow.h @@ -75,7 +75,7 @@ Config_Grow configGrow; struct Config { - char test[16] = "456"; + char test[16] = "123"; }; Config config;