WeatherDuino Forum

Full Version: [SOLVED]4Pro - Compile error when AQI_STANDARD defined as 3 (australia)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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;
Hi Chris,

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

Cheers