From 517f8dbc4f4736fcda2586523499e7d43ddc2578 Mon Sep 17 00:00:00 2001 From: AddioElectronics <59629419+AddioElectronics@users.noreply.github.com> Date: Wed, 9 Feb 2022 16:18:51 -0800 Subject: Added #pragma once to PolledTimeout.h FTPCommon.h was not compiling because __POLLEDTIMING_H__ was already declared in the ESP8266 Core. --- esp32compat/PolledTimeout.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'esp32compat') 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; }//esp32 -#endif -- cgit v1.2.3