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

Plus has errors compiling
#2

Yes, I see the same thing. It's because the WU_Upload function in net.ino is not compiled due to a #if, but it's still being called.

I think the fix would be to modify Routines.ino from this...

Code:
     if ( Enable_Internet == 1 && Enable_WUupload == 1 && localMinute % WUupload_period == 0)
      {
        WU_upload();
      }  

... to this (untested!)...

Code:
      #if (Enable_Internet == 1) && (Enable_WUupload == 1)
       if (localMinute % WUupload_period == 0)
        {
          WU_upload();
       }  
     #endif


It's C 'best practice' to use upper-case names for preprocessor defines, so it's easier to spot them. e.g ENABLE_INTERNET, ENABLE_WU_UPLOAD.
Reply


Messages In This Thread
Plus has errors compiling - by markkkk42 - 11-01-2017, 08:40
RE: Plus has errors compiling - by roddyp - 11-01-2017, 12:27
RE: Plus has errors compiling - by werk_ag - 11-01-2017, 20:39
RE: Plus has errors compiling - by roddyp - 11-01-2017, 22:42
RE: Plus has errors compiling - by werk_ag - 11-01-2017, 22:49
RE: Plus has errors compiling - by werk_ag - 12-01-2017, 00:19
RE: Plus has errors compiling - by werk_ag - 11-01-2017, 20:32
RE: Plus has errors compiling - by markkkk42 - 12-01-2017, 05:06
RE: Plus has errors compiling - by markkkk42 - 12-01-2017, 05:46
RE: Plus has errors compiling - by markkkk42 - 12-01-2017, 05:52
RE: Plus has errors compiling - by roddyp - 12-01-2017, 10:43
RE: Plus has errors compiling - by werk_ag - 12-01-2017, 18:39
RE: Plus has errors compiling - by markkkk42 - 12-01-2017, 11:05
RE: Plus has errors compiling - by markkkk42 - 12-01-2017, 11:08
RE: Plus has errors compiling - by roddyp - 12-01-2017, 11:22
RE: Plus has errors compiling - by werk_ag - 12-01-2017, 18:08
RE: Plus has errors compiling - by roddyp - 12-01-2017, 20:29
RE: Plus has errors compiling - by werk_ag - 12-01-2017, 23:10
RE: Plus has errors compiling - by markkkk42 - 13-01-2017, 08:15
RE: Plus has errors compiling - by werk_ag - 14-01-2017, 01:27



Users browsing this thread: 1 Guest(s)