diff --git a/esphome/components/espnow/espnow.h b/esphome/components/espnow/espnow.h index 4129ae8356..79a24357b8 100644 --- a/esphome/components/espnow/espnow.h +++ b/esphome/components/espnow/espnow.h @@ -139,7 +139,7 @@ struct ESPNowPacket { std::shared_ptr payload_buffer_; }; -typedef ESPNowPacketPtr = std::shared_ptr; +using ESPNowPacketPtr = std::shared_ptr; class ESPNowComponent;