🐛 Fix compact sensitive pins array (#22184)

This commit is contained in:
Scott Lahteine
2021-06-20 22:49:57 -05:00
parent f3e0bc7a4b
commit a0f7f0e9e2
2 changed files with 13 additions and 10 deletions

View File

@ -882,7 +882,7 @@
// Remove -2 from the front, emit the rest, cease propagation
template<pin_t ...D>
struct OnlyPins<_SP_END, D...> { static constexpr pin_t table[sizeof...(D)] PROGMEM = { D... }; };
struct OnlyPins<_SP_END, D...> { static constexpr size_t size = sizeof...(D); static constexpr pin_t table[sizeof...(D)] PROGMEM = { D... }; };
#endif
#define SENSITIVE_PINS \