From e158168c36d5a0b591acf63fc81d12560543f5f6 Mon Sep 17 00:00:00 2001 From: EMOTIONS-HUNTER Date: Wed, 10 Jun 2026 12:15:30 -0600 Subject: [PATCH] =?UTF-8?q?Limpieza=20de=20archivos=20innecesarios=20seg?= =?UTF-8?q?=C3=BAn=20.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 21 +++++++++++++++++++++ data/EZORTD.json | 2 +- sensors/EZORTD/ezortd_daemon.c | 17 ----------------- 3 files changed, 22 insertions(+), 18 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..013bd77 --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +# Carpetas de compilación y entorno +.pio/ +.vs/ +.vscode/ +build/ +bin/ +obj/ + +# Archivos de configuración locales +*.code-workspace +.DS_Store + +# Archivos binarios y de salida +*.hex +*.bin +*.elf +*.map + +# Archivos de depuración y logs +*.log +*.tmp \ No newline at end of file diff --git a/data/EZORTD.json b/data/EZORTD.json index 55068dc..d43e8e1 100644 --- a/data/EZORTD.json +++ b/data/EZORTD.json @@ -1 +1 @@ -{ "temperature": 24.414 } +{ "temperature": 24.900 } diff --git a/sensors/EZORTD/ezortd_daemon.c b/sensors/EZORTD/ezortd_daemon.c index 857bcec..1bcb98e 100644 --- a/sensors/EZORTD/ezortd_daemon.c +++ b/sensors/EZORTD/ezortd_daemon.c @@ -29,15 +29,6 @@ int main() if (f) { - time_t now = time(NULL); - struct tm *t = localtime(&now); - - char timestamp[32]; - - strftime(timestamp, - sizeof(timestamp), - "%Y-%m-%d %H:%M:%S", - t); fprintf(f, "{ \"temperature\": %.3f }\n", temperature); @@ -53,14 +44,6 @@ int main() if (log) { time_t now = time(NULL); - struct tm *t = localtime(&now); - - char timestamp[32]; - - strftime(timestamp, - sizeof(timestamp), - "%Y-%m-%d %H:%M:%S", - t); fprintf(log, "%ld,%.3f\n",