From a67a2cbf5cac5b24e4dd5a764c6bb3c6935879f5 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Sun, 6 Jul 2025 16:05:37 +0100 Subject: [PATCH] Remove duplicate (de)allocateMultiplePins --- wled00/pin_manager.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wled00/pin_manager.h b/wled00/pin_manager.h index b6805243..a488d24f 100644 --- a/wled00/pin_manager.h +++ b/wled00/pin_manager.h @@ -94,13 +94,6 @@ namespace PinManager { [[deprecated("Replaced by two-parameter deallocatePin(gpio, ownerTag), for improved debugging")]] inline void deallocatePin(byte gpio) { deallocatePin(gpio, PinOwner::None); } - // De-allocates multiple pins but only if all can be deallocated (PinOwner has to be specified) - bool deallocateMultiplePins(const uint8_t *pinArray, byte arrayElementCount, PinOwner tag); - bool deallocateMultiplePins(const managed_pin_type *pinArray, byte arrayElementCount, PinOwner tag); - - bool allocateMultiplePins(const managed_pin_type * mptArray, byte arrayElementCount, PinOwner tag ); - bool allocateMultiplePins(const int8_t * mptArray, byte arrayElementCount, PinOwner tag, boolean output); - // will return true for reserved pins bool isPinAllocated(byte gpio, PinOwner tag = PinOwner::None); // will return false for reserved pins