mirror of
https://github.com/esphome/esphome.git
synced 2025-11-01 07:31:51 +00:00
Merge branch 'message_creator_ram' into integration
This commit is contained in:
@@ -1902,7 +1902,7 @@ void APIConnection::process_batch_() {
|
|||||||
|
|
||||||
uint16_t APIConnection::MessageCreator::operator()(EntityBase *entity, APIConnection *conn, uint32_t remaining_size,
|
uint16_t APIConnection::MessageCreator::operator()(EntityBase *entity, APIConnection *conn, uint32_t remaining_size,
|
||||||
bool is_single, uint16_t message_type) const {
|
bool is_single, uint16_t message_type) const {
|
||||||
if (is_string()) {
|
if (has_tagged_string_ptr()) {
|
||||||
// Handle string-based messages
|
// Handle string-based messages
|
||||||
switch (message_type) {
|
switch (message_type) {
|
||||||
#ifdef USE_EVENT
|
#ifdef USE_EVENT
|
||||||
|
|||||||
Reference in New Issue
Block a user