From a2e806146afc92eefb8e00302ede06a36dbc6362 Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis Date: Mon, 20 Nov 2023 17:48:29 +0100 Subject: [PATCH] add include guard to pinDefinitions.h to avoid double inclusion issue --- cores/arduino/pinDefinitions.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cores/arduino/pinDefinitions.h b/cores/arduino/pinDefinitions.h index 7df17a804..ebb36131d 100644 --- a/cores/arduino/pinDefinitions.h +++ b/cores/arduino/pinDefinitions.h @@ -1,3 +1,6 @@ +#ifndef PIN_DEFINITIONS_H +#define PIN_DEFINITIONS_H + #ifdef USE_ARDUINO_PINOUT #include "drivers/InterruptIn.h" @@ -36,4 +39,6 @@ PinName digitalPinToPinName(pin_size_t P); int PinNameToIndex(PinName P); -#endif \ No newline at end of file +#endif // USE_ARDUINO_PINOUT + +#endif // PIN_DEFINITIONS_H \ No newline at end of file pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy