summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Plasa <dplasa@gmail.com>2024-01-16 12:50:37 +0100
committerGitHub <noreply@github.com>2024-01-16 12:50:37 +0100
commit249cad03fdc3a28115dcace33abdd06866faaf87 (patch)
tree1447b0e7f96a8cf3e8d831c0929e65fc59dc4012
parentUpdate library.properties (diff)
parentAdded #pragma once to PolledTimeout.h (diff)
downloadFTPCLientServer-249cad03fdc3a28115dcace33abdd06866faaf87.tar
FTPCLientServer-249cad03fdc3a28115dcace33abdd06866faaf87.tar.gz
FTPCLientServer-249cad03fdc3a28115dcace33abdd06866faaf87.tar.bz2
FTPCLientServer-249cad03fdc3a28115dcace33abdd06866faaf87.tar.lz
FTPCLientServer-249cad03fdc3a28115dcace33abdd06866faaf87.tar.xz
FTPCLientServer-249cad03fdc3a28115dcace33abdd06866faaf87.tar.zst
FTPCLientServer-249cad03fdc3a28115dcace33abdd06866faaf87.zip
-rw-r--r--esp32compat/PolledTimeout.h4
-rw-r--r--esp8266compat/PolledTimeout.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/esp32compat/PolledTimeout.h b/esp32compat/PolledTimeout.h
index 06fe14e..5841993 100644
--- a/esp32compat/PolledTimeout.h
+++ b/esp32compat/PolledTimeout.h
@@ -1,5 +1,4 @@
-#ifndef __POLLEDTIMING_H__
-#define __POLLEDTIMING_H__
+#pragma once
/*
@@ -251,4 +250,3 @@ using periodicMs = polledTimeout::timeoutTemplate<true>;
}//esp32
-#endif
diff --git a/esp8266compat/PolledTimeout.h b/esp8266compat/PolledTimeout.h
index ec4064f..a076710 100644
--- a/esp8266compat/PolledTimeout.h
+++ b/esp8266compat/PolledTimeout.h
@@ -1,5 +1,4 @@
-#ifndef __POLLEDTIMING_H__
-#define __POLLEDTIMING_H__
+#pragma once
/*
@@ -286,4 +285,3 @@ using periodicFastNs = polledTimeout::timeoutTemplate<true, YieldPolicy::DoNothi
}//esp8266
-#endif