Change type MBps to Mbps

This commit is contained in:
Tyler Perkins 2022-01-28 17:42:46 -05:00
parent cbcba7d143
commit 998f355460

View File

@ -113,14 +113,14 @@ void wifi::update() {
&& WIFI_HOMEASSISTANT_SPEEDTEST){ && WIFI_HOMEASSISTANT_SPEEDTEST){
speedtest_up = "Upload: "; speedtest_up = "Upload: ";
speedtest_up += json_doc[i]["state"].GetString(); speedtest_up += json_doc[i]["state"].GetString();
speedtest_up += "MBps"; speedtest_up += "Mbps";
} //speedtest down } //speedtest down
else if (strcmp(json_doc[i]["entity_id"].GetString(), else if (strcmp(json_doc[i]["entity_id"].GetString(),
WIFI_HOMEASSISTANT_SPEEDTEST_DOWN) == 0 WIFI_HOMEASSISTANT_SPEEDTEST_DOWN) == 0
&& WIFI_HOMEASSISTANT_SPEEDTEST){ && WIFI_HOMEASSISTANT_SPEEDTEST){
speedtest_down = "Download: "; speedtest_down = "Download: ";
speedtest_down += json_doc[i]["state"].GetString(); speedtest_down += json_doc[i]["state"].GetString();
speedtest_down += "MBps"; speedtest_down += "Mbps";
} //speedtest ping } //speedtest ping
else if (strcmp(json_doc[i]["entity_id"].GetString(), else if (strcmp(json_doc[i]["entity_id"].GetString(),
WIFI_HOMEASSISTANT_SPEEDTEST_PING) == 0 WIFI_HOMEASSISTANT_SPEEDTEST_PING) == 0