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;
Thread Closed


Messages In This Thread
[SOLVED]4Pro - Compile error when AQI_STANDARD defined as 3 (australia) - by chrisww - 06-09-2021, 09:30
RE: 4Pro receiver bugs - by werk_ag - 07-09-2021, 19:38



Users browsing this thread: 1 Guest(s)