mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Enable a bunch of clang-tidy checks (#2149)
This commit is contained in:
		| @@ -171,10 +171,8 @@ optional<XiaomiParseResult> parse_xiaomi_header(const esp32_ble_tracker::Service | ||||
|     result.type = XiaomiParseResult::TYPE_MUE4094RT; | ||||
|     result.name = "MUE4094RT"; | ||||
|     result.raw_offset -= 6; | ||||
|   } else if ((raw[2] == 0x47) && (raw[3] == 0x03)) {  // ClearGrass-branded, round body, e-ink display | ||||
|     result.type = XiaomiParseResult::TYPE_CGG1; | ||||
|     result.name = "CGG1"; | ||||
|   } else if ((raw[2] == 0x48) && (raw[3] == 0x0B)) {  // Qingping-branded, round body, e-ink display — with bindkeys | ||||
|   } else if ((raw[2] == 0x47 && raw[3] == 0x03) ||  // ClearGrass-branded, round body, e-ink display | ||||
|              (raw[2] == 0x48 && raw[3] == 0x0B)) {  // Qingping-branded, round body, e-ink display — with bindkeys | ||||
|     result.type = XiaomiParseResult::TYPE_CGG1; | ||||
|     result.name = "CGG1"; | ||||
|   } else if ((raw[2] == 0xbc) && (raw[3] == 0x03)) {  // VegTrug Grow Care Garden | ||||
|   | ||||
		Reference in New Issue
	
	Block a user