WeatherDuino Forum
[SOLVED]4Pro - Compile error when AQI_STANDARD defined as 3 (australia) - Printable Version

+- WeatherDuino Forum (https://www.meteocercal.info/forum)
+-- Forum: Weather Stations & Environmental Measurement Equipment - WeatherDuino 4Pro Line (https://www.meteocercal.info/forum/Forum-Weather-Stations-Environmental-Measurement-Equipment-WeatherDuino-4Pro-Line)
+--- Forum: 4Pro Weather Stations - Receivers (https://www.meteocercal.info/forum/Forum-4Pro-Weather-Stations-Receivers)
+---- Forum: User support forum for 4Pro Weather Station Receivers (https://www.meteocercal.info/forum/Forum-User-support-forum-for-4Pro-Weather-Station-Receivers)
+---- Thread: [SOLVED]4Pro - Compile error when AQI_STANDARD defined as 3 (australia) (/Thread-SOLVED-4Pro-Compile-error-when-AQI-STANDARD-defined-as-3-australia)



[SOLVED]4Pro - Compile error when AQI_STANDARD defined as 3 (australia) - chrisww - 06-09-2021

I have found a bug in ver6.0_b027.
If you define the AQI_STANDARD as 3 (australia), the compiler throws up an error in line 721 and 722 of the D_TFT code.
  'Display' was not declared in this scope

    aqi25  = Display.PM25AQI / 10;  
    aqi100 =Display.PM100AQI / 10; 

Looking at the code, it would seem it should be:
    aqi25 = AQ_Monitor.PM25AQI / 10;
    aqi100 = AQ_Monitor.PM100AQI / 10;


RE: 4Pro receiver bugs - werk_ag - 07-09-2021

Hi Chris,

You are right! It will be fixed on b028.
Thank you. Cool

Cheers