I see that the current code reads (see the bottom since I can't get this to format correctly):
So, if I'm reading this right, if "IGNORE_UPDATES" is defined, then it won't show the update notification.
My question is, if this is a precompiler flag, why put it down there? Why not move the #ifndef up to around line 662 where all of the JSON processing is happening? Currently, all of the JSON processing time and all is being wasted because the end result is never displayed.
Am I missing something? Otherwise, I think it should be moved up to avoid unnecessary operations.
#ifndef IGNORE_UPDATES
if(updateAvailable)
{
notifyUpdateAvailable();
}
#endif