mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	fix defines
This commit is contained in:
		| @@ -2174,7 +2174,7 @@ void ExecuteServiceRequest::calculate_size(uint32_t &total_size) const { | |||||||
|   ProtoSize::add_fixed_field<4>(total_size, 1, this->key != 0, false); |   ProtoSize::add_fixed_field<4>(total_size, 1, this->key != 0, false); | ||||||
|   ProtoSize::add_repeated_message(total_size, 1, this->args); |   ProtoSize::add_repeated_message(total_size, 1, this->args); | ||||||
| } | } | ||||||
| #ifdef USE_ESP32_CAMERA | #ifdef USE_CAMERA | ||||||
| bool ListEntitiesCameraResponse::decode_varint(uint32_t field_id, ProtoVarInt value) { | bool ListEntitiesCameraResponse::decode_varint(uint32_t field_id, ProtoVarInt value) { | ||||||
|   switch (field_id) { |   switch (field_id) { | ||||||
|     case 5: { |     case 5: { | ||||||
|   | |||||||
| @@ -1272,7 +1272,7 @@ class ExecuteServiceRequest : public ProtoMessage { | |||||||
|   bool decode_32bit(uint32_t field_id, Proto32Bit value) override; |   bool decode_32bit(uint32_t field_id, Proto32Bit value) override; | ||||||
|   bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override; |   bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override; | ||||||
| }; | }; | ||||||
| #ifdef USE_ESP32_CAMERA | #ifdef USE_CAMERA | ||||||
| class ListEntitiesCameraResponse : public InfoResponseProtoMessage { | class ListEntitiesCameraResponse : public InfoResponseProtoMessage { | ||||||
|  public: |  public: | ||||||
|   static constexpr uint16_t MESSAGE_TYPE = 43; |   static constexpr uint16_t MESSAGE_TYPE = 43; | ||||||
|   | |||||||
| @@ -1855,7 +1855,7 @@ void ExecuteServiceRequest::dump_to(std::string &out) const { | |||||||
|   } |   } | ||||||
|   out.append("}"); |   out.append("}"); | ||||||
| } | } | ||||||
| #ifdef USE_ESP32_CAMERA | #ifdef USE_CAMERA | ||||||
| void ListEntitiesCameraResponse::dump_to(std::string &out) const { | void ListEntitiesCameraResponse::dump_to(std::string &out) const { | ||||||
|   __attribute__((unused)) char buffer[64]; |   __attribute__((unused)) char buffer[64]; | ||||||
|   out.append("ListEntitiesCameraResponse {\n"); |   out.append("ListEntitiesCameraResponse {\n"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user