mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Merge branch 'bluetooth_proxy_heap' into integration
This commit is contained in:
		| @@ -3132,7 +3132,7 @@ void BluetoothLERawAdvertisement::dump_to(std::string &out) const { | |||||||
|   out.append("\n"); |   out.append("\n"); | ||||||
|  |  | ||||||
|   out.append("  data: "); |   out.append("  data: "); | ||||||
|   out.append(format_hex_pretty(reinterpret_cast<const char *>(this->data), this->data_len)); |   out.append(format_hex_pretty(this->data, this->data_len)); | ||||||
|   out.append("\n"); |   out.append("\n"); | ||||||
|   out.append("}"); |   out.append("}"); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -657,7 +657,7 @@ class FixedArrayBytesType(TypeInfo): | |||||||
|         return f"buffer.encode_bytes({self.number}, this->{self.field_name}, this->{self.field_name}_len);" |         return f"buffer.encode_bytes({self.number}, this->{self.field_name}, this->{self.field_name}_len);" | ||||||
|  |  | ||||||
|     def dump(self, name: str) -> str: |     def dump(self, name: str) -> str: | ||||||
|         o = f"out.append(format_hex_pretty(reinterpret_cast<const char*>({name}), {name}_len));" |         o = f"out.append(format_hex_pretty({name}, {name}_len));" | ||||||
|         return o |         return o | ||||||
|  |  | ||||||
|     def get_size_calculation(self, name: str, force: bool = False) -> str: |     def get_size_calculation(self, name: str, force: bool = False) -> str: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user