11-01-2017, 12:27
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...
... to this (untested!)...
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.
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();
}
#endifIt'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.

