From d1e76388b1e9c8041a45e05a9ef767d22f799ed1 Mon Sep 17 00:00:00 2001 From: Majenko Technologies Date: Sat, 25 Apr 2020 18:56:33 +0100 Subject: [PATCH] Added includes to properties file The Arduino library.properties specification gives the `includes` entry: * **includes - (available from Arduino IDE 1.6.10) (optional)** a comma separated list of files to be added to the sketch as #include <...> lines. This property is used with the "Include library" command in the Arduino IDE. If the includes property is missing, all the header files (.h) on the root source folder are included. Adding this will prevent both Time.h and TimeLib.h from being included in the IDE with the include library menu option. --- library.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/library.properties b/library.properties index 1693db8..2c5d58c 100644 --- a/library.properties +++ b/library.properties @@ -6,5 +6,6 @@ sentence=Timekeeping functionality for Arduino paragraph=Date and Time functions, with provisions to synchronize to external time sources like GPS and NTP (Internet). This library is often used together with TimeAlarms and DS1307RTC. category=Timing url=http://playground.arduino.cc/Code/Time/ +includes=TimeLib.h architectures=*