Serial improvements (can RX, canTX)
PinManager bugfix for unsigned long long
This commit is contained in:
@@ -87,7 +87,11 @@ class PinManagerClass {
|
||||
PinOwner ownerTag[WLED_NUM_PINS] = { PinOwner::None };
|
||||
|
||||
public:
|
||||
PinManagerClass() : pinAlloc(0), i2cAllocCount(0), spiAllocCount(0) {}
|
||||
PinManagerClass() : pinAlloc(0ULL), i2cAllocCount(0), spiAllocCount(0) {
|
||||
#ifdef ARDUINO_ARCH_ESP32
|
||||
ledcAlloc = 0;
|
||||
#endif
|
||||
}
|
||||
// De-allocates a single pin
|
||||
bool deallocatePin(byte gpio, PinOwner tag);
|
||||
// De-allocates multiple pins but only if all can be deallocated (PinOwner has to be specified)
|
||||
|
||||
Reference in New Issue
Block a user