error: 'TXINFO_DATA' was not declared in this scope - Printable Version
+- WeatherDuino Forum (
https://www.meteocercal.info/forum)
+-- Forum: Weather Stations & Environmental Measurement Equipment - WeatherDuino 4Pro Line (
https://www.meteocercal.info/forum/forum-56.html)
+--- Forum: Wireless Display for WeatherDuino Weather Stations (
https://www.meteocercal.info/forum/forum-60.html)
+---- Forum: User support forum for 4Pro Wireless Display devices (
https://www.meteocercal.info/forum/forum-64.html)
+---- Thread: error: 'TXINFO_DATA' was not declared in this scope (
/thread-2276.html)
error: 'TXINFO_DATA' was not declared in this scope -
Sun_Dancer - 30-01-2024
Hello ,
I'm currently compiling the current firmware, but I always get an error message. Have I made the wrong setting?
Quote:Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
WeatherDuino_4PESP8266_WD_v7.4_b006:111:95: error: 'TXINFO_DATA' was not declared in this scope
const uint8_t DataScreensOrder[6] = {0, EXTRASENSORS_DATA, SOILLEAF_DATA, AIRQUALITY_DATA, TXINFO_DATA, FORECAST_DATA};
^
C:\Users\skoda\Documents\Arduino\Sketchbook\WeatherDuino_4PESP8266_WD_v7.4_b006_20240107\software\WeatherDuino_4PESP8266_WD_v7.4_b006\D_TFT.ino: In function 'void draw_TXinfo()':
D_TFT:805:23: error: 'TXINFO_DATA' was not declared in this scope
if (activeWindow != TXINFO_DATA)
^
C:\Users\skoda\Documents\Arduino\Sketchbook\WeatherDuino_4PESP8266_WD_v7.4_b006_20240107\software\WeatherDuino_4PESP8266_WD_v7.4_b006\D_TFT.ino: In function 'void update_12Hforecast()':
D_TFT:943:32: error: 'myTZ' was not declared in this scope
uint32_t TZ_offset = now() - myTZ.toUTC(now());
^
C:\Users\skoda\Documents\Arduino\Sketchbook\WeatherDuino_4PESP8266_WD_v7.4_b006_20240107\software\WeatherDuino_4PESP8266_WD_v7.4_b006\D_TFT.ino: In function 'void Update_Display()':
D_TFT:1137:28: error: 'TXINFO_DATA' was not declared in this scope
else if (activeWindow == TXINFO_DATA) draw_TXinfo();
^
C:\Users\skoda\Documents\Arduino\Sketchbook\WeatherDuino_4PESP8266_WD_v7.4_b006_20240107\software\WeatherDuino_4PESP8266_WD_v7.4_b006\NET.ino: In function 'void getNtpTime()':
NET:69:15: error: 'myTZ' was not declared in this scope
local = myTZ.toLocal(epoch);
^
exit status 1
'TXINFO_DATA' was not declared in this scope
RE: error: 'TXINFO_DATA' was not declared in this scope -
werk_ag - 01-02-2024
Hi,
The software is compiling fine. Let's try to discover why it isn't compiling for you.
Code:
exit status 1
'TXINFO_DATA' was not declared in this scope
From your post it seems that TXINFO_ DATA declaration was disappeared.
Can you please post your Config_Options.h file?
Or check if when editing the Config_Options.h file you haven't messed line 138
Code:
#define TXINFO_DATA 2
Reg.
Werk_AG