From f69ed899542725fb744a24493bb5472994b0875d Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Sat, 4 Sep 2021 12:19:39 +0200 Subject: [PATCH] Align main header file name with library name. --- examples/TMF8801-Basic/TMF8801-Basic.ino | 2 +- examples/TMF8801-FactoryCalib/TMF8801-FactoryCalib.ino | 2 +- library.properties | 2 +- src/{ArduinoTMF8801.cpp => 107-Arduino-TMF8801.cpp} | 4 +++- src/{ArduinoTMF8801.h => 107-Arduino-TMF8801.h} | 0 5 files changed, 6 insertions(+), 4 deletions(-) rename src/{ArduinoTMF8801.cpp => 107-Arduino-TMF8801.cpp} (99%) rename src/{ArduinoTMF8801.h => 107-Arduino-TMF8801.h} (100%) diff --git a/examples/TMF8801-Basic/TMF8801-Basic.ino b/examples/TMF8801-Basic/TMF8801-Basic.ino index 551df5a..da04dfe 100644 --- a/examples/TMF8801-Basic/TMF8801-Basic.ino +++ b/examples/TMF8801-Basic/TMF8801-Basic.ino @@ -8,7 +8,7 @@ #include -#include +#include <107-Arduino-TMF8801.h> /************************************************************************************** * FUNCTION DECLARATION diff --git a/examples/TMF8801-FactoryCalib/TMF8801-FactoryCalib.ino b/examples/TMF8801-FactoryCalib/TMF8801-FactoryCalib.ino index c29c3b0..604f34a 100644 --- a/examples/TMF8801-FactoryCalib/TMF8801-FactoryCalib.ino +++ b/examples/TMF8801-FactoryCalib/TMF8801-FactoryCalib.ino @@ -17,7 +17,7 @@ #include -#include +#include <107-Arduino-TMF8801.h> /************************************************************************************** * NAMESPACE diff --git a/library.properties b/library.properties index 52796ab..8273a13 100644 --- a/library.properties +++ b/library.properties @@ -7,4 +7,4 @@ paragraph= category=Sensors url=https://github.com/107-systems/107-Arduino-TMF8801 architectures=samd,esp32,mbed,mbed_nano,mbed_portenta,mbed_edge -includes=ArduinoTMF8801.h +includes=107-Arduino-TMF8801.h diff --git a/src/ArduinoTMF8801.cpp b/src/107-Arduino-TMF8801.cpp similarity index 99% rename from src/ArduinoTMF8801.cpp rename to src/107-Arduino-TMF8801.cpp index 375505a..7dfa0b2 100644 --- a/src/ArduinoTMF8801.cpp +++ b/src/107-Arduino-TMF8801.cpp @@ -9,8 +9,10 @@ * INCLUDE **************************************************************************************/ -#include "ArduinoTMF8801.h" +#include "107-Arduino-TMF8801.h" + #include + /************************************************************************************** * CTOR/DTOR **************************************************************************************/ diff --git a/src/ArduinoTMF8801.h b/src/107-Arduino-TMF8801.h similarity index 100% rename from src/ArduinoTMF8801.h rename to src/107-Arduino-TMF8801.h