[gpio] Reduce ESP32 memory usage by optimizing struct padding (#9230)

This commit is contained in:
J. Nick Koston 2025-06-27 08:53:40 +02:00 committed by GitHub
parent 7931423e8c
commit 13512440ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,9 +29,9 @@ class ESP32InternalGPIOPin : public InternalGPIOPin {
void attach_interrupt(void (*func)(void *), void *arg, gpio::InterruptType type) const override;
gpio_num_t pin_;
bool inverted_;
gpio_drive_cap_t drive_strength_;
gpio::Flags flags_;
bool inverted_;
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
static bool isr_service_installed;
};