fix CGG1 log message (#757)

This commit is contained in:
Alexander Leisentritt 2019-10-17 14:02:41 +02:00 committed by Otto Winter
parent cdfbe5b523
commit 45736707bd

View File

@ -128,7 +128,7 @@ bool XiaomiListener::parse_device(const esp32_ble_tracker::ESPBTDevice &device)
} else if (res->type == XiaomiParseResult::TYPE_LYWSD02) {
name = "LYWSD02";
} else if (res->type == XiaomiParseResult::TYPE_CGG1) {
name = "Cleargrass";
name = "CGG1";
}
ESP_LOGD(TAG, "Got Xiaomi %s (%s):", name, device.address_str().c_str());