bins & cross-compilation

This commit is contained in:
2024-01-28 15:10:56 +03:00
parent 05ea031977
commit 99466f6e9f
21 changed files with 53458 additions and 53192 deletions

View File

@@ -1811,7 +1811,7 @@ if (!sysConf.getServer(configServer,sizeof(configServer)))
if (!cleanConf(true))
{
errorSerial<<F("Get aborted")<<endl;
htclient.stop();
hclient.closeStream(configStream);
return 500;
}
root = aJson.parse(&as);
@@ -1967,7 +1967,7 @@ if (!sysConf.getServer(configServer,sizeof(configServer)))
if (!cleanConf(true))
{
errorSerial<<F("Get aborted")<<endl;
htclient.stop();
httpClient.end();
return 500;
}
//root = aJson.parse((char *) response.c_str());

View File

@@ -16,13 +16,13 @@
#if defined (ARDUINO_ARCH_ESP8266)
#if not defined (TWI_SCL) && defined (D1)
#define TWI_SCL D1
#endif
// #if not defined (TWI_SCL) && defined (D1)
// #define TWI_SCL D1
// #endif
#if not defined (WAK_PIN) && defined (D3)
#define WAK_PIN D3
#endif
// #if not defined (WAK_PIN) && defined (D3)
// #define WAK_PIN D3
// #endif
#if defined (TWI_SCL)
#define SCL_LOW() (GPES = (1 << TWI_SCL))
@@ -35,7 +35,7 @@
#if defined (ARDUINO_ARCH_ESP32)
#undef WAK_PIN
//#undef WAK_PIN
#undef SCL_RESET
//#ifndef WAK_PIN
//#define WAK_PIN 17
@@ -43,9 +43,9 @@
#endif
#if defined(ARDUINO_ARCH_AVR)
#ifndef WAK_PIN
#define WAK_PIN 3 // for LightHub UEXT SCS Pin
#endif
//#ifndef WAK_PIN
//#define WAK_PIN 3 // for LightHub UEXT SCS Pin
//#endif
#endif