From 9801545965252a4a7044ba58ba939d5dede68d16 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Wed, 4 Dec 2024 13:59:46 -0300 Subject: [PATCH] update1 --- {src => include}/A7670_utils.h | 0 include/README | 39 -------------------------------- {src => include}/aprs_is_utils.h | 0 {src => include}/battery_utils.h | 0 {src => include}/configuration.h | 0 {src => include}/digi_utils.h | 0 {src => include}/display.h | 0 {src => include}/gps_utils.h | 0 {src => include}/kiss_protocol.h | 0 {src => include}/kiss_utils.h | 0 {src => include}/lora_utils.h | 0 {src => include}/ntp_utils.h | 0 {src => include}/ota_utils.h | 0 {src => include}/power_utils.h | 0 {src => include}/query_utils.h | 0 {src => include}/station_utils.h | 0 {src => include}/syslog_utils.h | 0 {src => include}/tnc_utils.h | 0 {src => include}/utils.h | 0 {src => include}/web_utils.h | 0 {src => include}/wifi_utils.h | 0 {src => include}/wx_utils.h | 0 test/README | 11 --------- 23 files changed, 50 deletions(-) rename {src => include}/A7670_utils.h (100%) delete mode 100644 include/README rename {src => include}/aprs_is_utils.h (100%) rename {src => include}/battery_utils.h (100%) rename {src => include}/configuration.h (100%) rename {src => include}/digi_utils.h (100%) rename {src => include}/display.h (100%) rename {src => include}/gps_utils.h (100%) rename {src => include}/kiss_protocol.h (100%) rename {src => include}/kiss_utils.h (100%) rename {src => include}/lora_utils.h (100%) rename {src => include}/ntp_utils.h (100%) rename {src => include}/ota_utils.h (100%) rename {src => include}/power_utils.h (100%) rename {src => include}/query_utils.h (100%) rename {src => include}/station_utils.h (100%) rename {src => include}/syslog_utils.h (100%) rename {src => include}/tnc_utils.h (100%) rename {src => include}/utils.h (100%) rename {src => include}/web_utils.h (100%) rename {src => include}/wifi_utils.h (100%) rename {src => include}/wx_utils.h (100%) delete mode 100644 test/README diff --git a/src/A7670_utils.h b/include/A7670_utils.h similarity index 100% rename from src/A7670_utils.h rename to include/A7670_utils.h diff --git a/include/README b/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/src/aprs_is_utils.h b/include/aprs_is_utils.h similarity index 100% rename from src/aprs_is_utils.h rename to include/aprs_is_utils.h diff --git a/src/battery_utils.h b/include/battery_utils.h similarity index 100% rename from src/battery_utils.h rename to include/battery_utils.h diff --git a/src/configuration.h b/include/configuration.h similarity index 100% rename from src/configuration.h rename to include/configuration.h diff --git a/src/digi_utils.h b/include/digi_utils.h similarity index 100% rename from src/digi_utils.h rename to include/digi_utils.h diff --git a/src/display.h b/include/display.h similarity index 100% rename from src/display.h rename to include/display.h diff --git a/src/gps_utils.h b/include/gps_utils.h similarity index 100% rename from src/gps_utils.h rename to include/gps_utils.h diff --git a/src/kiss_protocol.h b/include/kiss_protocol.h similarity index 100% rename from src/kiss_protocol.h rename to include/kiss_protocol.h diff --git a/src/kiss_utils.h b/include/kiss_utils.h similarity index 100% rename from src/kiss_utils.h rename to include/kiss_utils.h diff --git a/src/lora_utils.h b/include/lora_utils.h similarity index 100% rename from src/lora_utils.h rename to include/lora_utils.h diff --git a/src/ntp_utils.h b/include/ntp_utils.h similarity index 100% rename from src/ntp_utils.h rename to include/ntp_utils.h diff --git a/src/ota_utils.h b/include/ota_utils.h similarity index 100% rename from src/ota_utils.h rename to include/ota_utils.h diff --git a/src/power_utils.h b/include/power_utils.h similarity index 100% rename from src/power_utils.h rename to include/power_utils.h diff --git a/src/query_utils.h b/include/query_utils.h similarity index 100% rename from src/query_utils.h rename to include/query_utils.h diff --git a/src/station_utils.h b/include/station_utils.h similarity index 100% rename from src/station_utils.h rename to include/station_utils.h diff --git a/src/syslog_utils.h b/include/syslog_utils.h similarity index 100% rename from src/syslog_utils.h rename to include/syslog_utils.h diff --git a/src/tnc_utils.h b/include/tnc_utils.h similarity index 100% rename from src/tnc_utils.h rename to include/tnc_utils.h diff --git a/src/utils.h b/include/utils.h similarity index 100% rename from src/utils.h rename to include/utils.h diff --git a/src/web_utils.h b/include/web_utils.h similarity index 100% rename from src/web_utils.h rename to include/web_utils.h diff --git a/src/wifi_utils.h b/include/wifi_utils.h similarity index 100% rename from src/wifi_utils.h rename to include/wifi_utils.h diff --git a/src/wx_utils.h b/include/wx_utils.h similarity index 100% rename from src/wx_utils.h rename to include/wx_utils.h diff --git a/test/README b/test/README deleted file mode 100644 index 9b1e87bc..00000000 --- a/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PlatformIO Test Runner and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PlatformIO Unit Testing: -- https://docs.platformio.org/en/latest/advanced/unit-testing/index.html