Chat freely about anything...

User avatar
By danbicks
#45431 Guys,

Moving to Arduino IDE 1.6.7 is a real pain. If as many of us would have created sub tabs with routines in which work perfectly fine in 1.6.5 they do not get declared unless a forward declaration for a subroutine name is defined in the global space.

Example

Program has 2 Ino files. Main.ino and NTP.ino

NTP.ino has a function lets say called NTP_Active() which returns bool as a return if NTP has been synced.

Now in the Main.ino file we have to declare in the global scope a forward declaration for this subroutine.
e.g:

Global Scope above setup in Main.ino

bool NTP_Active(); // forward declaration here


Void Setup()
{

}


Is there any alternative method without having to re define every single function in the global scope? What a real pain this is!

Look forward to your findings and feedback.

Dans