Thread Closed
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[SOLVED]4Pro - Compile error when AQI_STANDARD defined as 3 (australia)
#1

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;
#2

Hi Chris,

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

Cheers
Thread Closed




Users browsing this thread: 1 Guest(s)