summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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