mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
preen
This commit is contained in:
@@ -139,7 +139,7 @@ class BLEEvent {
|
|||||||
~BLEEvent() { this->release(); }
|
~BLEEvent() { this->release(); }
|
||||||
|
|
||||||
// Default constructor for pre-allocation in pool
|
// Default constructor for pre-allocation in pool
|
||||||
BLEEvent() : type_(GAP), event_{} {}
|
BLEEvent() : event_{}, type_(GAP) {}
|
||||||
|
|
||||||
// Invoked on return to EventPool - clean up any heap-allocated data
|
// Invoked on return to EventPool - clean up any heap-allocated data
|
||||||
void release() {
|
void release() {
|
||||||
|
Reference in New Issue
Block a user